diff -r db27a563fa9b Lib/sqlite3/test/hooks.py --- a/Lib/sqlite3/test/hooks.py Wed May 16 20:10:21 2012 +0200 +++ b/Lib/sqlite3/test/hooks.py Thu May 17 11:41:30 2012 +0200 @@ -47,9 +47,9 @@ 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))