diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-11-12 23:39:44 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-11-12 23:39:44 +0000 |
commit | e36199b49df77c96bad687c6681d8e54c5053b84 (patch) | |
tree | 81b9aaa74f92b9de459ede5dc6ed2ca4ec508998 /Lib/test/test_codeop.py | |
parent | c4cd6d3765d054ac1b23f0f9765a2eaf3f1e7be7 (diff) | |
download | cpython-git-e36199b49df77c96bad687c6681d8e54c5053b84.tar.gz |
fix several compile() issues by translating newlines in the tokenizer
Diffstat (limited to 'Lib/test/test_codeop.py')
-rw-r--r-- | Lib/test/test_codeop.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_codeop.py b/Lib/test/test_codeop.py index c8fa990d80..da3b83f2a3 100644 --- a/Lib/test/test_codeop.py +++ b/Lib/test/test_codeop.py @@ -295,10 +295,6 @@ class CodeopTests(unittest.TestCase): self.assertNotEquals(compile_command("a = 1\n", "abc").co_filename, compile("a = 1\n", "def", 'single').co_filename) - def test_no_universal_newlines(self): - code = compile_command("'\rfoo\r'", symbol='eval') - self.assertEqual(eval(code), '\rfoo\r') - def test_main(): run_unittest(CodeopTests) |