diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-01-10 20:19:35 -0500 |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-01-10 20:19:35 -0500 |
commit | 6fea55ad930fc7bf4dc0252854d86db8b6740fa4 (patch) | |
tree | 3fc7fccab21579c910ff03461497f5b24ec9514e /Lib/sqlite3 | |
parent | 6567670e33cf1a71f09193e7097ae0c2015bf841 (diff) | |
parent | 1e77b1e87d408b65349295945f21403b68ed2761 (diff) | |
download | cpython-6fea55ad930fc7bf4dc0252854d86db8b6740fa4.tar.gz |
merge #13934: document sqlite version strings, use correct one in test.
Diffstat (limited to 'Lib/sqlite3')
-rw-r--r-- | Lib/sqlite3/test/hooks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/sqlite3/test/hooks.py b/Lib/sqlite3/test/hooks.py index 3dc44f6110..0b5520d906 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)) |