summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-23 17:10:38 (GMT)
committerGeorg Brandl <georg@python.org>2008-01-23 17:10:38 (GMT)
commit39b21ffd3c54e7f6b6d32fde5c91bbfad96084db (patch)
treec105512ac7bd7b2797dea6a34f0797bf37f21328 /Lib
parent1af737cd1eb80510c573446f7c7906d4ffdd325b (diff)
downloadcpython-39b21ffd3c54e7f6b6d32fde5c91bbfad96084db.zip
cpython-39b21ffd3c54e7f6b6d32fde5c91bbfad96084db.tar.gz
cpython-39b21ffd3c54e7f6b6d32fde5c91bbfad96084db.tar.bz2
Fix #1913.
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')