Kaydet (Commit) f8950654 authored tarafından Neal Norwitz's avatar Neal Norwitz

Fix compiler test when run with -u (long mode)

üst f1d50684
......@@ -28,7 +28,7 @@ class CompilerTest(unittest.TestCase):
f = open(path, "U")
buf = f.read()
f.close()
if "badsyntax" in basename:
if "badsyntax" in basename or "bad_coding" in basename:
self.assertRaises(SyntaxError, compiler.compile,
buf, basename, "exec")
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment