Author: Stefano Rivera <stef...@rivera.za.net> Branch: Changeset: r1216:7889afdcddc7 Date: 2013-03-30 23:07 +0200 http://bitbucket.org/cffi/cffi/changeset/7889afdcddc7/
Log: Add missing b prefix to a byte-tring in the big-endian code path diff --git a/testing/backend_tests.py b/testing/backend_tests.py --- a/testing/backend_tests.py +++ b/testing/backend_tests.py @@ -1094,7 +1094,7 @@ assert content.startswith(b'\x64\x00\x00\x00\x65\x00\x00\x00') b[4] = b'\x45' else: - assert content.startswith('\x00\x00\x00\x64\x00\x00\x00\x65') + assert content.startswith(b'\x00\x00\x00\x64\x00\x00\x00\x65') b[7] = b'\x45' assert len(content) == 4 * 10 assert a[1] == 0x45 _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit