From 39b21ffd3c54e7f6b6d32fde5c91bbfad96084db Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 23 Jan 2008 17:10:38 +0000 Subject: Fix #1913. --- Lib/test/test_pep263.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_pep263.py b/Lib/test/test_pep263.py index cacf1d6..cc126ba 100644 --- a/Lib/test/test_pep263.py +++ b/Lib/test/test_pep263.py @@ -18,7 +18,7 @@ class PEP263Test(unittest.TestCase): def test_compilestring(self): # see #1882 - c = compile("\n# coding: utf-8\nu = '\xc3\xb3'\n", "dummy", "exec") + c = compile(b"\n# coding: utf-8\nu = '\xc3\xb3'\n", "dummy", "exec") d = {} exec(c, d) self.assertEqual(d['u'], '\xf3') -- cgit v0.12