Mercurial > cpython-lru_cache-weakref
diff Lib/sqlite3/test/userfunctions.py @ 39546:1edde2349f78
Make unit tests pass: replace apply() and adapt to different attribute message.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 17 Aug 2006 22:37:44 +0000 |
| parents | 654c380cf8b9 |
| children | 6b18a095c2e7 |
line wrap: on
line diff
--- a/Lib/sqlite3/test/userfunctions.py Thu Aug 17 22:28:49 2006 +0000 +++ b/Lib/sqlite3/test/userfunctions.py Thu Aug 17 22:37:44 2006 +0000 @@ -280,7 +280,7 @@ cur.execute("select nostep(t) from test") self.fail("should have raised an AttributeError") except AttributeError, e: - self.failUnlessEqual(e.args[0], "AggrNoStep instance has no attribute 'step'") + self.failUnlessEqual(e.args[0], "'AggrNoStep' object has no attribute 'step'") def CheckAggrNoFinalize(self): cur = self.con.cursor()
