[Test] Enable DeprecationWarning in Python test suite

This commit is contained in:
Ray Speth 2015-10-07 11:45:55 -04:00
parent 3d27dfa1a1
commit 92d3ba0bf7

View file

@ -21,7 +21,9 @@ from __future__ import print_function
import sys
import os
import warnings
warnings.simplefilter('default')
cantera_root = os.path.relpath(__file__).split(os.sep)[:-1] + ['..', '..']
py_version = 'python3' if sys.version_info[0] == 3 else 'python2'
module_path = os.path.abspath(os.sep.join(cantera_root + ['build', py_version]))