Closed
Description
When running tests with Python 3.11.0b3, I get the following failure:
$ python runtests.py
Unable to import APSW extension tests, skipping.
Unable to import CockroachDB tests, skipping.
Unable to import sqlite C extension tests, skipping.
Unable to import mysql-connector, skipping mysql_ext tests.
Unable to import postgres extension tests, skipping.
Unable to import SQLCipher extension tests, skipping.
Unable to import sqlite extension tests, skipping.
.s.....................s..................................s.....................sss...........................................s.......ss.....................................s........ssss............................................s...................................s.........................................................................s..................................................................................................................................................................ssss........................................ss.............................s..................s...........ss............s...s.........s....ss......s..............s..............................................................ss.......................E............ssssssss.....................................sss.......ssssssssssssss.....s..................s..ss..............................
======================================================================
ERROR: test_sqlite_isolation (tests.db_tests.TestSqliteIsolation.test_sqlite_isolation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/peewee/tests/db_tests.py", line 461, in test_sqlite_isolation
self.assertEqual(curs.fetchone()[0], 0)
~~~~~~~~~~~~~~~^^^
TypeError: 'NoneType' object is not subscriptable
----------------------------------------------------------------------
Ran 894 tests in 5.487s
FAILED (errors=1, skipped=65)
Metadata
Metadata
Assignees
Labels
No labels