diff -r 0df85a2ebe4d Lib/sqlite3/test/hooks.py --- a/Lib/sqlite3/test/hooks.py Wed Jan 11 03:32:43 2012 -0500 +++ b/Lib/sqlite3/test/hooks.py Wed Jan 11 23:33:15 2012 +0100 @@ -48,7 +48,7 @@ pass def CheckCollationIsUsed(self): - if sqlite.version_info < (3, 2, 1): # old SQLite versions crash on this test + if sqlite.sqlite_version_info < (3, 2, 1): # old SQLite versions crash on this test return def mycoll(x, y): # reverse order