diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-15 08:16:44 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-15 08:16:44 (GMT) |
commit | c21e0566b29faad375c82a8972ba8f5380e8d892 (patch) | |
tree | a798f9692c7ce1da92758465dc4b1ca93f0a4040 /Lib/sqlite3/test | |
parent | 143cefb8461c2c684e904723be45f84d2c998466 (diff) | |
download | cpython-c21e0566b29faad375c82a8972ba8f5380e8d892.zip cpython-c21e0566b29faad375c82a8972ba8f5380e8d892.tar.gz cpython-c21e0566b29faad375c82a8972ba8f5380e8d892.tar.bz2 |
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')
-rw-r--r-- | Lib/sqlite3/test/hooks.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/sqlite3/test/hooks.py b/Lib/sqlite3/test/hooks.py index b10b3ef..761bdaa 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) |