From 5b09ef8724b28399b0e5eae846f28c512e0dcb41 Mon Sep 17 00:00:00 2001 From: Michael Kuron <mkuron@icp.uni-stuttgart.de> Date: Thu, 23 Jan 2020 15:11:22 +0100 Subject: [PATCH] disable phasefield tests on Sympy 1.1 --- conftest.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conftest.py b/conftest.py index d21cab65..3ae58d02 100644 --- a/conftest.py +++ b/conftest.py @@ -52,6 +52,12 @@ except ImportError: collect_ignore += [os.path.join(SCRIPT_FOLDER, "lbmpy_tests/benchmark"), os.path.join(SCRIPT_FOLDER, "lbmpy_tests/full_scenarios/kida_vortex_flow/scenario_kida_vortex_flow.py")] +import sympy +sver = sympy.__version__.split(".") +if (int(sver[0]) == 1 and int(sver[1]) < 2): + add_path_to_ignore('lbmpy_tests/phasefield') + collect_ignore += [os.path.join(SCRIPT_FOLDER, "lbmpy_tests/test_n_phase_boyer_noncoupled.ipynb")] + collect_ignore += [os.path.join(SCRIPT_FOLDER, 'setup.py')] for root, sub_dirs, files in os.walk('.'): -- GitLab