[Test] Enable DeprecationWarning in Python test suite
This commit is contained in:
parent
3d27dfa1a1
commit
92d3ba0bf7
1 changed files with 2 additions and 0 deletions
|
|
@ -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]))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue