mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
Speculative checkin (requires approval of Gerhard Haering)
This backs out the test changes in 46962 which prevented crashes by not running the tests via a version check. All the version checks added in that rev were removed from the tests. Code was added to the error handler in connection.c that seems to work with older versions of sqlite including 3.1.3.
This commit is contained in:
parent
5d538b603f
commit
fe7d0c3bc6
3 changed files with 2 additions and 12 deletions
|
@ -48,8 +48,6 @@ class CollationTests(unittest.TestCase):
|
|||
pass
|
||||
|
||||
def CheckCollationIsUsed(self):
|
||||
if sqlite.version_info < (3, 2, 1): # old SQLite versions crash on this test
|
||||
return
|
||||
def mycoll(x, y):
|
||||
# reverse order
|
||||
return -cmp(x, y)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue