diff --git a/interfaces/cython/cantera/test/utilities.py b/interfaces/cython/cantera/test/utilities.py index 79ac68461e..5f2f20edf2 100644 --- a/interfaces/cython/cantera/test/utilities.py +++ b/interfaces/cython/cantera/test/utilities.py @@ -32,6 +32,7 @@ def setUpClass(cls): else: cls.test_work_dir = tempfile.mkdtemp() + cantera.make_deprecation_warnings_fatal() cantera.add_directory(cls.test_work_dir) cls.test_data_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), 'data')) cls.cantera_data = os.path.abspath(os.path.join( diff --git a/test/python/runCythonTests.py b/test/python/runCythonTests.py index bbccde20e1..54534f2806 100644 --- a/test/python/runCythonTests.py +++ b/test/python/runCythonTests.py @@ -36,8 +36,6 @@ import cantera import cantera.test -cantera.make_deprecation_warnings_fatal() - class TestResult(unittest.TextTestResult): def __init__(self, *args, **kwargs): unittest.TextTestResult.__init__(self, *args, **kwargs)