Author: Armin Rigo <ar...@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"
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to