if use_metaclass:
- def run_and_check(test, args, desc,stderr=None):
- test.run(arguments = args,stderr=".*"+TestSCons.deprecated_python_expr)
+ def run_and_check(test, args, desc):
+ test.run(arguments = args)
test.must_contain_any_line(test.stdout(), expect)
else:
expect_no_metaclasses = expect_no_metaclasses + TestSCons.file_expr
def run_and_check(test, args, desc):
- test.run(arguments = args, stderr = expect_no_metaclasses+".*"+TestSCons.deprecated_python_expr)
+ test.run(arguments = args, stderr = expect_no_metaclasses)
test.must_not_contain_any_line(test.stdout(), expect)