Gerhard Häring <g...@ghaering.de> added the comment:

Please change your test case so that it works with an in-memory database
":memory:". Then you'll also need to include a schema creation command
"create table", which is missing here.

Please also state which behaviour you see and which one you expect. Best
is to provide a test case that asserts the expected behaviour in code.

For example if you expect a certain SELECT statement to return more than
one value, you can use code like this:

{{{
cur.execute("select ...")
rows = cur.fetchall()
assert len(rows) > 1
}}}

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7572>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to