Skip to content

Commit 31f5dfb

Browse files
committed
py 3.9 workaround
It whines about float being converted to int which is correct and what I want to fail, but deprecation warning then messes up the testing
1 parent 4d4a4ec commit 31f5dfb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apsw/tests/sessiontests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ def handler(*args):
685685

686686
self.db.execute("update [delete] set two = 77")
687687

688-
for handler_return in (None, 3.4, 1 + 5j, "hello", sys.maxsize * 1024):
688+
for handler_return in (None, apsw, 1 + 5j, "hello", sys.maxsize * 1024):
689689
self.assertRaises(
690690
(TypeError, OverflowError),
691691
apsw.Changeset.apply,

0 commit comments

Comments
 (0)