From: Benjamin Peterson Date: Wed, 17 Mar 2010 20:57:32 +0000 (+0000) Subject: bring back commented out test X-Git-Tag: v3.2a1~1438 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5d2ad25252be3323a1f6a3e02a058280174cf661;p=thirdparty%2FPython%2Fcpython.git bring back commented out test --- diff --git a/Lib/test/test_compile.py b/Lib/test/test_compile.py index 90d6b87b50f0..3325785c73c5 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