]> granicus.if.org Git - python/commitdiff
bring back commented out test
authorBenjamin Peterson <benjamin@python.org>
Wed, 17 Mar 2010 20:57:32 +0000 (20:57 +0000)
committerBenjamin Peterson <benjamin@python.org>
Wed, 17 Mar 2010 20:57:32 +0000 (20:57 +0000)
Lib/test/test_compile.py

index 90d6b87b50f0b646b8c4ceea67cb0d32937376af..3325785c73c5cd63b90197665f6a7eac67fff1a5 100644 (file)
@@ -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