From: Georg Brandl Date: Wed, 23 Jan 2008 17:10:38 +0000 (+0000) Subject: Fix #1913. X-Git-Tag: v3.0a3~173 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=39b21ffd3c54e7f6b6d32fde5c91bbfad96084db;p=thirdparty%2FPython%2Fcpython.git Fix #1913. --- diff --git a/Lib/test/test_pep263.py b/Lib/test/test_pep263.py index cacf1d6db346..cc126ba687c5 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')