We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f29283 commit a51cfe6Copy full SHA for a51cfe6
Lib/test/test_sqlite3/test_dbapi.py
@@ -914,6 +914,12 @@ def test_rowcount_prefixed_with_comment(self):
914
insert into test(name) values ('foo')
915
""")
916
self.assertEqual(self.cu.rowcount, 1)
917
+ self.cu.execute("""
918
+ /* -- messy /* /* *- *--
919
+ */
920
+ /* one more */ insert into test(name) values ('messy')
921
+ """)
922
+ self.assertEqual(self.cu.rowcount, 1)
923
self.cu.execute("/* bar */ update test set name='bar' where name='foo'")
924
self.assertEqual(self.cu.rowcount, 2)
925
0 commit comments