Changeset: a75205484055 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a75205484055
Modified Files:
        clients/src/python/test/dbapi20.py
Branch: Jun2010
Log Message:

Fixed test script
to make test sql/src/test/mapi/python_test_monetdb_sql_dbapi20.*
work, again.
Thanks go to Gijs Molenaar for suggesting the fix.


diffs (11 lines):

diff -r a3e55ee55c4c -r a75205484055 clients/src/python/test/dbapi20.py
--- a/clients/src/python/test/dbapi20.py        Tue Jun 22 17:24:55 2010 +0200
+++ b/clients/src/python/test/dbapi20.py        Tue Jun 22 18:43:57 2010 +0200
@@ -582,6 +582,7 @@
                 cur.execute(sql)
 
             cur.execute('select name from %sbooze' % self.table_prefix)
+            cur.arraysize=1
             r = cur.fetchmany()
             self.assertEqual(len(r),1,
                 'cursor.fetchmany retrieved incorrect number of rows, '
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to