From 900921dc6178640c4af721c1279066ac87631425 Mon Sep 17 00:00:00 2001 From: Stefano Borini <sborini@enthought.com> Date: Wed, 20 Jun 2018 13:23:42 +0100 Subject: [PATCH] Fix for python3 test --- force_bdss/tests/test_core_evaluation_driver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/force_bdss/tests/test_core_evaluation_driver.py b/force_bdss/tests/test_core_evaluation_driver.py index 1b09402..734a08b 100644 --- a/force_bdss/tests/test_core_evaluation_driver.py +++ b/force_bdss/tests/test_core_evaluation_driver.py @@ -88,7 +88,7 @@ class TestCoreEvaluationDriver(unittest.TestCase): self, RuntimeError, "The run method of data source test_data_source must" - " return a list. It returned instead <type 'str'>. Fix" + " return a list. It returned instead <.* 'str'>. Fix" " the run\(\) method to return the appropriate entity."): driver.application_started() @@ -104,7 +104,7 @@ class TestCoreEvaluationDriver(unittest.TestCase): RuntimeError, "The result list returned by DataSource test_data_source" " contains an entry that is not a DataValue." - " An entry of type <type 'str'> was instead found" + " An entry of type <.* 'str'> was instead found" " in position 0." " Fix the DataSource.run\(\) method to" " return the appropriate entity." -- GitLab