summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_compile.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-03-17 20:57:32 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-03-17 20:57:32 (GMT)
commit5d2ad25252be3323a1f6a3e02a058280174cf661 (patch)
tree4b0a970cda992eb4be3946339c8865925d0b4d71 /Lib/test/test_compile.py
parente6dd2cb63d6458b02eb31a4ca0a644aac2febc21 (diff)
downloadcpython-5d2ad25252be3323a1f6a3e02a058280174cf661.zip
cpython-5d2ad25252be3323a1f6a3e02a058280174cf661.tar.gz
cpython-5d2ad25252be3323a1f6a3e02a058280174cf661.tar.bz2
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 90d6b87..3325785 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