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.
This commit is contained in:
Neal Norwitz 2006-06-15 08:16:44 +00:00
parent 143cefb846
commit c21e0566b2

View 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)