From df4831362350cc10b005daac666661e8cf0b400e Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Sat, 11 Oct 2008 13:35:01 +0000 Subject: Python 2.6 made "as" a keyword, so test the importability of the Tool.as module indirectly, not with a direct import statement. --- test/import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) -- cgit v0.12