[pypy-commit] pypy default: Add a skipped test about why it was done with array.array in the first place

arigo noreply at buildbot.pypy.org
Sat Apr 6 11:17:49 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r63094:fe06ba47d82a
Date: 2013-04-06 11:16 +0200
http://bitbucket.org/pypy/pypy/changeset/fe06ba47d82a/

Log:	Add a skipped test about why it was done with array.array in the
	first place

diff --git a/pypy/module/test_lib_pypy/test_sqlite3.py b/pypy/module/test_lib_pypy/test_sqlite3.py
--- a/pypy/module/test_lib_pypy/test_sqlite3.py
+++ b/pypy/module/test_lib_pypy/test_sqlite3.py
@@ -196,6 +196,11 @@
         gc.collect()
         got = (val[0], val[1], val[2], val[3])
         assert got == ('b', 'l', 'o', 'b')
+    # in theory 'val' should be a read-write buffer
+    # but it's not right now
+    pytest.skip("in theory 'val' should be a read-write buffer")
+    val[1] = 'X'
+    assert got == ('b', 'X', 'o', 'b')
 
 def test_description_after_fetchall(con):
     cur = con.cursor()


More information about the pypy-commit mailing list