summaryrefslogtreecommitdiff
path: root/Lib/sqlite3/test/hooks.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-06-15 04:54:29 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-06-15 04:54:29 +0000
commitfe7d0c3bc6352bbabd4b458bf736cd18e9082a27 (patch)
treec5a985fb771c7a4f5cb943dd2b3f145922bef7f4 /Lib/sqlite3/test/hooks.py
parent5d538b603f733cd747ce5a776d86fd971012c986 (diff)
downloadcpython-git-fe7d0c3bc6352bbabd4b458bf736cd18e9082a27.tar.gz
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.
Diffstat (limited to 'Lib/sqlite3/test/hooks.py')
-rw-r--r--Lib/sqlite3/test/hooks.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/sqlite3/test/hooks.py b/Lib/sqlite3/test/hooks.py
index 7deab983f8..b10b3efb17 100644
--- a/Lib/sqlite3/test/hooks.py
+++ b/Lib/sqlite3/test/hooks.py
@@ -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)