From c21e0566b29faad375c82a8972ba8f5380e8d892 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Thu, 15 Jun 2006 08:16:44 +0000 Subject: [PATCH] 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. --- Lib/sqlite3/test/hooks.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.40.0