diff options
Diffstat (limited to 'test/Deprecated/Options/help.py')
-rw-r--r-- | test/Deprecated/Options/help.py | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/test/Deprecated/Options/help.py b/test/Deprecated/Options/help.py index 0b7226b..8c240e3 100644 --- a/test/Deprecated/Options/help.py +++ b/test/Deprecated/Options/help.py @@ -28,24 +28,16 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" Test the Options help messages. """ -import os.path +import os import re -try: - True, False -except NameError: - exec('True = (0 == 0)') - exec('False = (0 != 0)') +import TestSCons str_True = str(True) str_False = str(False) -import TestSCons - test = TestSCons.TestSCons(match = TestSCons.match_re_dotall) - - workpath = test.workpath() qtpath = os.path.join(workpath, 'qt') libpath = os.path.join(qtpath, 'lib') |