diff --git a/Lib/test/test_compile.py b/Lib/test/test_compile.py index 90d6b87b50f..3325785c73c 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