summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-01-11 01:20:19 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-01-11 01:20:19 (GMT)
commitedb0e5eb2c012f02ab3d7dbb968e7647b581a9ca (patch)
tree353c0d7f38f522221370e1a8f33fe37168f87f7e /Lib
parentf86b3c394ce8edab17eac7d2d4ed107679ef6058 (diff)
parentd394455aaebaebe98732ebe4d66c9a28acc1139e (diff)
downloadcpython-edb0e5eb2c012f02ab3d7dbb968e7647b581a9ca.zip
cpython-edb0e5eb2c012f02ab3d7dbb968e7647b581a9ca.tar.gz
cpython-edb0e5eb2c012f02ab3d7dbb968e7647b581a9ca.tar.bz2
merge #13934: document sqlite version strings, use correct one in test.
Diffstat (limited to 'Lib')
-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))