[pypy-commit] pypy py3.5: typo

arigo pypy.commits at gmail.com
Sun Feb 19 12:47:38 EST 2017


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r90212:aabda7c4125f
Date: 2017-02-19 18:45 +0100
http://bitbucket.org/pypy/pypy/changeset/aabda7c4125f/

Log:	typo

diff --git a/pypy/module/struct/test/test_struct.py b/pypy/module/struct/test/test_struct.py
--- a/pypy/module/struct/test/test_struct.py
+++ b/pypy/module/struct/test/test_struct.py
@@ -379,7 +379,7 @@
         assert bytes(b2) == self.struct.pack("ii", 17, 42) + (b'\x00' * 11)
 
         exc = raises(TypeError, self.struct.pack_into, "ii", b'test', 0, 17, 42)
-        assert str(exc.value) == "a read-write buffer is requried, not bytes"
+        assert str(exc.value) == "a read-write buffer is required, not bytes"
         exc = raises(self.struct.error, self.struct.pack_into, "ii", b[0:1], 0, 17, 42)
         assert str(exc.value) == "pack_into requires a buffer of at least 8 bytes"
 


More information about the pypy-commit mailing list