diff options
Diffstat (limited to 'test/YACC/live.py')
-rw-r--r-- | test/YACC/live.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/YACC/live.py b/test/YACC/live.py index e125daa..253a387 100644 --- a/test/YACC/live.py +++ b/test/YACC/live.py @@ -40,12 +40,7 @@ yacc = test.where_is('yacc') or test.where_is('bison') if not yacc: test.skip_test('No yacc or bison found; skipping test.\n') -test.write("wrapper.py", -"""import os -import sys -open('%s', 'wb').write(b"wrapper.py\\n") -os.system(" ".join(sys.argv[1:])) -""" % test.workpath('wrapper.out').replace('\\', '\\\\')) +test.file_fixture('wrapper.py') test.write('SConstruct', """ foo = Environment(YACCFLAGS='-d') |