diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-12-14 01:05:33 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-12-14 01:05:33 (GMT) |
commit | 58b9a8a944854346f09f0502147429303211f8dc (patch) | |
tree | 5e991069309261ab6979b6c44dbda64456b7ae35 /test | |
parent | ba2069cfbbed1bdc0b32dd6853aada258755884a (diff) | |
download | SCons-58b9a8a944854346f09f0502147429303211f8dc.zip SCons-58b9a8a944854346f09f0502147429303211f8dc.tar.gz SCons-58b9a8a944854346f09f0502147429303211f8dc.tar.bz2 |
Fix failing unit test.
Removed test that tested for 1.x python behavior since the code
no longer supports versions back that far.
Diffstat (limited to 'test')
-rw-r--r-- | test/EnsurePythonVersion.py | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/test/EnsurePythonVersion.py b/test/EnsurePythonVersion.py index 8e1a0f3..b40bc71 100644 --- a/test/EnsurePythonVersion.py +++ b/test/EnsurePythonVersion.py @@ -43,58 +43,6 @@ Exit(0) test.run(status=2) -test.write('SConstruct', """\ -import sys -try: - delattr(sys, 'version_info') -except AttributeError: - pass -sys.version = '2.3b1 (#0, Feb 24 2003, 19:13:11)\\n' -EnsurePythonVersion(1,3) -Exit(0) -""") - -test.run() - -test.write('SConstruct', """\ -import sys -try: - delattr(sys, 'version_info') -except AttributeError: - pass -sys.version = '2.3+ (#0, Feb 24 2003, 19:13:11)\\n' -EnsurePythonVersion(2,2) -Exit(0) -""") - -test.run() - -test.write('SConstruct', """\ -import sys -try: - delattr(sys, 'version_info') -except AttributeError: - pass -sys.version = '2.3b1 (#0, Feb 24 2003, 19:13:11)\\n' -EnsurePythonVersion(2,3) -Exit(0) -""") - -test.run() - -test.write('SConstruct', """\ -import sys -try: - delattr(sys, 'version_info') -except AttributeError: - pass -sys.version = '2.3b1 (#0, Feb 24 2003, 19:13:11)\\n' -EnsurePythonVersion(2,4) -Exit(0) -""") - -test.run(status=2) - test.pass_test() |