diff options
Diffstat (limited to 'test/exceptions.py')
-rw-r--r-- | test/exceptions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/exceptions.py b/test/exceptions.py index b3de487..b24e581 100644 --- a/test/exceptions.py +++ b/test/exceptions.py @@ -34,8 +34,8 @@ test = TestSCons.TestSCons(match = TestCmd.match_re_dotall) test.write('SConstruct', """ def func(source = None, target = None, env = None): raise "func exception" -B = Builder(name = 'B', action = func) -env = Environment(BUILDERS = [B]) +B = Builder(action = func) +env = Environment(BUILDERS = { 'B' : B }) env.B(target = 'foo.out', source = 'foo.in') """) |