diff options
author | Gerhard Häring <gh@ghaering.de> | 2006-04-23 15:24:26 +0000 |
---|---|---|
committer | Gerhard Häring <gh@ghaering.de> | 2006-04-23 15:24:26 +0000 |
commit | 3e99c0ad649de0393d9a8af17f34d9d1f55f4ab2 (patch) | |
tree | eccb1576b1380f17d880133f1fbf92df8456295d /Lib/sqlite3/test/hooks.py | |
parent | 5ef9d9fdb93cd5bd5179d8ce63c28248a4614d44 (diff) | |
download | cpython-git-3e99c0ad649de0393d9a8af17f34d9d1f55f4ab2.tar.gz |
Updated the sqlite3 module to the external pysqlite 2.2.2 version.
Diffstat (limited to 'Lib/sqlite3/test/hooks.py')
-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 21f7b88116..b10b3efb17 100644 --- a/Lib/sqlite3/test/hooks.py +++ b/Lib/sqlite3/test/hooks.py @@ -22,7 +22,7 @@ # 3. This notice may not be removed or altered from any source distribution. import os, unittest -import pysqlite2.dbapi2 as sqlite +import sqlite3 as sqlite class CollationTests(unittest.TestCase): def setUp(self): @@ -72,7 +72,7 @@ class CollationTests(unittest.TestCase): result = con.execute(sql).fetchall() self.fail("should have raised an OperationalError") except sqlite.OperationalError, e: - self.failUnlessEqual(e.args[0], "no such collation sequence: mycoll") + self.failUnlessEqual(e.args[0].lower(), "no such collation sequence: mycoll") def CheckCollationRegisterTwice(self): """ |