[pypy-commit] pypy py3.6-sqlite: Fix refcounting semantics dependency in stdlib test
rlamy
pypy.commits at gmail.com
Mon Jan 6 16:01:08 EST 2020
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.6-sqlite
Changeset: r98469:cdcc30d43196
Date: 2020-01-06 22:00 +0100
http://bitbucket.org/pypy/pypy/changeset/cdcc30d43196/
Log: Fix refcounting semantics dependency in stdlib test
diff --git a/lib-python/3/sqlite3/test/regression.py b/lib-python/3/sqlite3/test/regression.py
--- a/lib-python/3/sqlite3/test/regression.py
+++ b/lib-python/3/sqlite3/test/regression.py
@@ -127,6 +127,7 @@
con.execute("create table foo(bar timestamp)")
con.execute("insert into foo(bar) values (?)", (datetime.datetime.now(),))
con.execute(SELECT)
+ support.gc_collect() # PyPy change
con.execute("drop table foo")
con.execute("create table foo(bar integer)")
con.execute("insert into foo(bar) values (5)")
More information about the pypy-commit
mailing list