diff options
Diffstat (limited to 'Lib/test/test_compiler.py')
-rw-r--r-- | Lib/test/test_compiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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: |