summaryrefslogtreecommitdiff
path: root/Lib/test/test_compile.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-03-17 20:57:32 +0000
committerBenjamin Peterson <benjamin@python.org>2010-03-17 20:57:32 +0000
commit5d2ad25252be3323a1f6a3e02a058280174cf661 (patch)
tree4b0a970cda992eb4be3946339c8865925d0b4d71 /Lib/test/test_compile.py
parente6dd2cb63d6458b02eb31a4ca0a644aac2febc21 (diff)
downloadcpython-git-5d2ad25252be3323a1f6a3e02a058280174cf661.tar.gz
bring back commented out test
Diffstat (limited to 'Lib/test/test_compile.py')
-rw-r--r--Lib/test/test_compile.py4
1 files changed, 4 insertions, 0 deletions
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