diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-03-17 20:57:32 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-03-17 20:57:32 +0000 |
commit | 5d2ad25252be3323a1f6a3e02a058280174cf661 (patch) | |
tree | 4b0a970cda992eb4be3946339c8865925d0b4d71 /Lib/test | |
parent | e6dd2cb63d6458b02eb31a4ca0a644aac2febc21 (diff) | |
download | cpython-git-5d2ad25252be3323a1f6a3e02a058280174cf661.tar.gz |
bring back commented out test
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_compile.py | 4 |
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 |