diff options
-rw-r--r-- | Lib/test/test_compile.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_compile.py b/Lib/test/test_compile.py index 90d6b87..3325785 100644 --- a/Lib/test/test_compile.py +++ b/Lib/test/test_compile.py @@ -296,6 +296,10 @@ if 1: l = lambda: "foo" self.assertIsNone(l.__doc__) +## def test_unicode_encoding(self): +## code = "# -*- coding: utf-8 -*-\npass\n" +## self.assertRaises(SyntaxError, compile, code, "tmp", "exec") + def test_subscripts(self): # SF bug 1448804 # Class to make testing subscript results easy |