summaryrefslogtreecommitdiffstats
path: root/Lib/sqlite3/test
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-01-11 01:19:35 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-01-11 01:19:35 (GMT)
commitd394455aaebaebe98732ebe4d66c9a28acc1139e (patch)
tree621f43832d98a7eadea1bef4dcf4749f7a4e2de4 /Lib/sqlite3/test
parent36f7b97787f3428037ffa007bf93dadb738eef03 (diff)
parent3f7beb99dd456dd2b8de45a5cb0e1afdf228a262 (diff)
downloadcpython-d394455aaebaebe98732ebe4d66c9a28acc1139e.zip
cpython-d394455aaebaebe98732ebe4d66c9a28acc1139e.tar.gz
cpython-d394455aaebaebe98732ebe4d66c9a28acc1139e.tar.bz2
merge #13934: document sqlite version strings, use correct one in test.
Diffstat (limited to 'Lib/sqlite3/test')
-rw-r--r--Lib/sqlite3/test/hooks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/sqlite3/test/hooks.py b/Lib/sqlite3/test/hooks.py
index 3dc44f6..0b5520d 100644
--- a/Lib/sqlite3/test/hooks.py
+++ b/Lib/sqlite3/test/hooks.py
@@ -47,9 +47,9 @@ class CollationTests(unittest.TestCase):
except sqlite.ProgrammingError as e:
pass
+ @unittest.skipIf(sqlite.sqlite_version_info < (3, 2, 1),
+ 'old SQLite versions crash on this test')
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 -((x > y) - (x < y))