diff options
author | Steven Knight <knight@baldmt.com> | 2008-10-11 13:35:01 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2008-10-11 13:35:01 (GMT) |
commit | df4831362350cc10b005daac666661e8cf0b400e (patch) | |
tree | 9859c013a14166bdd65efe1d2ce7f60c81e3d1b5 /test | |
parent | 95792a5c83ee9cc31b24beec4e49e255bcc6f0fd (diff) | |
download | SCons-df4831362350cc10b005daac666661e8cf0b400e.zip SCons-df4831362350cc10b005daac666661e8cf0b400e.tar.gz SCons-df4831362350cc10b005daac666661e8cf0b400e.tar.bz2 |
Python 2.6 made "as" a keyword, so test the importability of the
Tool.as module indirectly, not with a direct import statement.
Diffstat (limited to 'test')
-rw-r--r-- | test/import.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/import.py b/test/import.py index 85948f9..2766d77 100644 --- a/test/import.py +++ b/test/import.py @@ -232,7 +232,7 @@ SCons.Tool.%(tool)s.generate(env) failures = [] for tool in tools: - if tool[0] in '0123456789' or '+' in tool: + if tool[0] in '0123456789' or '+' in tool or tool in ('as'): test.write('SConstruct', indirect_import % locals()) else: test.write('SConstruct', direct_import % locals()) |