summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2008-10-12 03:54:23 (GMT)
committerSteven Knight <knight@baldmt.com>2008-10-12 03:54:23 (GMT)
commitafe0fe2f4df5df3c4e4edc7656f8daaa973f37b1 (patch)
tree28ff56da590abc1cef802059d04122ee0ed5a542 /test
parent779f4d3ccfbcf0f85ca9bbbd9ed93be712e16bde (diff)
downloadSCons-afe0fe2f4df5df3c4e4edc7656f8daaa973f37b1.zip
SCons-afe0fe2f4df5df3c4e4edc7656f8daaa973f37b1.tar.gz
SCons-afe0fe2f4df5df3c4e4edc7656f8daaa973f37b1.tar.bz2
Don't use "as" as a variable name--reserved in Python 2.6.
Diffstat (limited to 'test')
-rw-r--r--test/AS/as-live.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/AS/as-live.py b/test/AS/as-live.py
index 886dc8d..03c6f24 100644
--- a/test/AS/as-live.py
+++ b/test/AS/as-live.py
@@ -40,9 +40,7 @@ test = TestSCons.TestSCons()
-as = test.detect('AS', 'as')
-
-if not as:
+if not test.detect('AS', 'as'):
test.skip_test("as not found; skipping test\n")
x86 = (sys.platform == 'win32' or string.find(sys.platform, 'linux') != -1)