summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2012-12-14 01:05:33 (GMT)
committerGary Oberbrunner <garyo@oberbrunner.com>2012-12-14 01:05:33 (GMT)
commit58b9a8a944854346f09f0502147429303211f8dc (patch)
tree5e991069309261ab6979b6c44dbda64456b7ae35 /test
parentba2069cfbbed1bdc0b32dd6853aada258755884a (diff)
downloadSCons-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.py52
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()