Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r2334:336b4e746d80
Date: 2015-10-09 10:19 +0200
http://bitbucket.org/cffi/cffi/changeset/336b4e746d80/

Log:    Test yet another case (for pypy)

diff --git a/c/test_c.py b/c/test_c.py
--- a/c/test_c.py
+++ b/c/test_c.py
@@ -3461,6 +3461,8 @@
     ba = bytearray(b"xxxxx")
     memmove(dest=ba, src=p, n=3)
     assert ba == bytearray(b"ABcxx")
+    memmove(ba, b"EFGH", 4)
+    assert ba == bytearray(b"EFGHx")
 
 def test_memmove_sign_check():
     SignedChar = new_primitive_type("signed char")
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to