From 5d2ad25252be3323a1f6a3e02a058280174cf661 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 17 Mar 2010 20:57:32 +0000 Subject: [PATCH] bring back commented out test --- Lib/test/test_compile.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/test/test_compile.py b/Lib/test/test_compile.py index 90d6b87b50..3325785c73 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 -- 2.40.0