summaryrefslogtreecommitdiff
path: root/Lib/sqlite3/test/hooks.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-06-15 08:16:44 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-06-15 08:16:44 +0000
commitc21e0566b29faad375c82a8972ba8f5380e8d892 (patch)
treea798f9692c7ce1da92758465dc4b1ca93f0a4040 /Lib/sqlite3/test/hooks.py
parent143cefb8461c2c684e904723be45f84d2c998466 (diff)
downloadcpython-git-c21e0566b29faad375c82a8972ba8f5380e8d892.tar.gz
Re-revert this change. Install the version check and don't run the test
until Gerhard has time to fully debug the issue. This affects versions before 3.2.1 (possibly only versions earlier than 3.1.3). Based on discussion on python-checkins.
Diffstat (limited to 'Lib/sqlite3/test/hooks.py')
-rw-r--r--Lib/sqlite3/test/hooks.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/sqlite3/test/hooks.py b/Lib/sqlite3/test/hooks.py
index b10b3efb17..761bdaa6b7 100644
--- a/Lib/sqlite3/test/hooks.py
+++ b/Lib/sqlite3/test/hooks.py
@@ -48,6 +48,8 @@ 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)