[Python-checkins] r46968 - python/trunk/Lib/sqlite3/test/hooks.py

neal.norwitz python-checkins at python.org
Thu Jun 15 10:16:46 CEST 2006


Author: neal.norwitz
Date: Thu Jun 15 10:16:44 2006
New Revision: 46968

Modified:
   python/trunk/Lib/sqlite3/test/hooks.py
Log:
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.


Modified: python/trunk/Lib/sqlite3/test/hooks.py
==============================================================================
--- python/trunk/Lib/sqlite3/test/hooks.py	(original)
+++ python/trunk/Lib/sqlite3/test/hooks.py	Thu Jun 15 10:16:44 2006
@@ -48,6 +48,8 @@
             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)


More information about the Python-checkins mailing list