diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/SCONSFLAGS.py | 2 | ||||
-rw-r--r-- | test/python-version.py | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/test/SCONSFLAGS.py b/test/SCONSFLAGS.py index 387cb26..cd36313 100644 --- a/test/SCONSFLAGS.py +++ b/test/SCONSFLAGS.py @@ -29,7 +29,7 @@ import os import TestCmd import TestSCons -test = TestSCons.TestSCons(match = TestCmd.match_re_dotall) +test = TestSCons.TestSCons(match = TestCmd.match_re_dotall,ignore_python_version=0) wpath = test.workpath() diff --git a/test/python-version.py b/test/python-version.py index fbebf8d..8230fd3 100644 --- a/test/python-version.py +++ b/test/python-version.py @@ -36,7 +36,7 @@ import string import TestCmd import TestSCons -test = TestSCons.TestSCons(match = TestCmd.match_re_dotall) +test = TestSCons.TestSCons(match = TestCmd.match_re_dotall,ignore_python_version=0) test.write('SConstruct', "\n") @@ -54,11 +54,6 @@ else: if TestSCons.deprecated_python_version(): - sconsflags = os.environ.get('SCONSFLAGS') - if sconsflags: - sconsflags = string.replace(sconsflags, '--warn=no-python-version', '') - os.environ['SCONSFLAGS'] = sconsflags - test.run(arguments = '-Q', stderr = TestSCons.deprecated_python_expr) else: |