]> granicus.if.org Git - python/commitdiff
Re-revert this change. Install the version check and don't run the test
authorNeal Norwitz <nnorwitz@gmail.com>
Thu, 15 Jun 2006 08:16:44 +0000 (08:16 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Thu, 15 Jun 2006 08:16:44 +0000 (08:16 +0000)
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

index b10b3efb170d00625b7a5e453c466c9e087c431d..761bdaa6b74223aa19111cdb9a881fcb9e97c174 100644 (file)
@@ -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)