Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r90249:4ead37a14a0e
Date: 2017-02-21 11:18 +0100
http://bitbucket.org/pypy/pypy/changeset/4ead37a14a0e/
Log: fix test
diff --git a/pypy/module/imp/test/test_import.py
b/pypy/module/imp/test/test_import.py
--- a/pypy/module/imp/test/test_import.py
+++ b/pypy/module/imp/test/test_import.py
@@ -354,8 +354,8 @@
o = __import__('sys', [], [], ['']) # CPython accepts this
assert sys == o
- def test_import_fromlist_must_not_contain_unicodes(self):
- raises(TypeError, __import__, 'encodings', None, None, [u'xxx'])
+ def test_import_fromlist_must_not_contain_bytes(self):
+ raises(TypeError, __import__, 'encodings', None, None, [b'xxx'])
def test_proper_failure_on_killed__path__(self):
import pkg.pkg2.a
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit