Author: Manuel Jacob <[email protected]>
Branch: py3.5
Changeset: r90185:1f0462138b76
Date: 2017-02-19 06:02 +0100
http://bitbucket.org/pypy/pypy/changeset/1f0462138b76/
Log: 2to3
diff --git a/pypy/module/__pypy__/test/test_magic.py
b/pypy/module/__pypy__/test/test_magic.py
--- a/pypy/module/__pypy__/test/test_magic.py
+++ b/pypy/module/__pypy__/test/test_magic.py
@@ -50,7 +50,7 @@
assert decode_long(b'\xff\x7f', 'little', False) == 32767
assert decode_long(b'\x00\x80', 'little', False) == 32768
assert decode_long(b'\x00\x80', 'little', True) == -32768
- raises(ValueError, decode_long, '', 'foo')
+ raises(ValueError, decode_long, b'', 'foo')
def test_promote(self):
from __pypy__ import _promote
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit