commit | f8950654e3747d569144781bba5281b1551b176c | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Mon Oct 24 00:01:37 2005 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Mon Oct 24 00:01:37 2005 +0000 |
tree | 6da35b9d0f80360802bb3d82a86e9969c5e77467 | |
parent | f1d50684c691bb310244e5f7b1f309c097c2b48e [diff] [blame] |
Fix compiler test when run with -u (long mode)
diff --git a/Lib/test/test_compiler.py b/Lib/test/test_compiler.py index 6bfe225..d2f062c 100644 --- a/Lib/test/test_compiler.py +++ b/Lib/test/test_compiler.py
@@ -28,7 +28,7 @@ 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: