diff options
| author | Georg Brandl <georg@python.org> | 2008-01-23 17:10:38 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2008-01-23 17:10:38 +0000 |
| commit | 39b21ffd3c54e7f6b6d32fde5c91bbfad96084db (patch) | |
| tree | c105512ac7bd7b2797dea6a34f0797bf37f21328 /Lib/test/test_pep263.py | |
| parent | 1af737cd1eb80510c573446f7c7906d4ffdd325b (diff) | |
| download | cpython-git-39b21ffd3c54e7f6b6d32fde5c91bbfad96084db.tar.gz | |
Fix #1913.
Diffstat (limited to 'Lib/test/test_pep263.py')
| -rw-r--r-- | Lib/test/test_pep263.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pep263.py b/Lib/test/test_pep263.py index cacf1d6db3..cc126ba687 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')
|
