summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_pep263.py2
1 files changed, 1 insertions, 1 deletions
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')