diff options
Diffstat (limited to 'src/engine/SCons/EnvironmentTests.py')
| -rw-r--r-- | src/engine/SCons/EnvironmentTests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/EnvironmentTests.py b/src/engine/SCons/EnvironmentTests.py index 46aad46..6780a18 100644 --- a/src/engine/SCons/EnvironmentTests.py +++ b/src/engine/SCons/EnvironmentTests.py @@ -432,7 +432,7 @@ class EnvironmentTestCase(unittest.TestCase): env = Environment() t = env.Command(target='foo.out', source=['foo1.in', 'foo2.in'], action='buildfoo $target $source') - assert t.builder + assert not t.builder is None assert t.builder.action.__class__.__name__ == 'CommandAction' assert t.builder.action.cmd_list == ['buildfoo', '$target', '$source'] assert 'foo1.in' in map(lambda x: x.path, t.sources) @@ -444,7 +444,7 @@ class EnvironmentTestCase(unittest.TestCase): return 0 t = env.Command(target='foo.out', source=['foo1.in','foo2.in'], action=testFunc) - assert t.builder + assert not t.builder is None assert t.builder.action.__class__.__name__ == 'FunctionAction' t.build() assert 'foo1.in' in map(lambda x: x.path, t.sources) |
