[Python-checkins] r79036 - python/branches/py3k/Lib/test/test_compile.py

benjamin.peterson python-checkins at python.org
Wed Mar 17 21:57:33 CET 2010


Author: benjamin.peterson
Date: Wed Mar 17 21:57:32 2010
New Revision: 79036

Log:
bring back commented out test

Modified:
   python/branches/py3k/Lib/test/test_compile.py

Modified: python/branches/py3k/Lib/test/test_compile.py
==============================================================================
--- python/branches/py3k/Lib/test/test_compile.py	(original)
+++ python/branches/py3k/Lib/test/test_compile.py	Wed Mar 17 21:57:32 2010
@@ -296,6 +296,10 @@
         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


More information about the Python-checkins mailing list