Author: Armin Rigo <ar...@tunes.org>
Branch: py3.5
Changeset: r90193:a4715ec68be8
Date: 2017-02-19 10:25 +0100
http://bitbucket.org/pypy/pypy/changeset/a4715ec68be8/

Log:    fix test (two errors on the same call, and pypy happens to report
        the other one now)

diff --git a/lib-python/3/test/test_struct.py b/lib-python/3/test/test_struct.py
--- a/lib-python/3/test/test_struct.py
+++ b/lib-python/3/test/test_struct.py
@@ -542,7 +542,7 @@
 
         # format lists containing only count spec should result in an error
         self.assertRaises(struct.error, struct.pack, '12345')
-        self.assertRaises(struct.error, struct.unpack, '12345', '')
+        self.assertRaises(struct.error, struct.unpack, '12345', b'')
         self.assertRaises(struct.error, struct.pack_into, '12345', store, 0)
         self.assertRaises(struct.error, struct.unpack_from, '12345', store, 0)
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to