summaryrefslogtreecommitdiffstats
path: root/Lib/sqlite3/test
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-08-17 22:37:44 (GMT)
committerGuido van Rossum <guido@python.org>2006-08-17 22:37:44 (GMT)
commit3b843ccf69023f17a2388124f7b7aae47977c53b (patch)
treed282ee0e1346d68623a1650569a94f7e6631d937 /Lib/sqlite3/test
parent512ab9f8d34e450d5ee35e264dc29004b08d7b73 (diff)
downloadcpython-3b843ccf69023f17a2388124f7b7aae47977c53b.zip
cpython-3b843ccf69023f17a2388124f7b7aae47977c53b.tar.gz
cpython-3b843ccf69023f17a2388124f7b7aae47977c53b.tar.bz2
Make unit tests pass: replace apply() and adapt to different attribute message.
Diffstat (limited to 'Lib/sqlite3/test')
-rw-r--r--Lib/sqlite3/test/userfunctions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sqlite3/test/userfunctions.py b/Lib/sqlite3/test/userfunctions.py
index 31bf289..e455fb6 100644
--- a/Lib/sqlite3/test/userfunctions.py
+++ b/Lib/sqlite3/test/userfunctions.py
@@ -280,7 +280,7 @@ class AggregateTests(unittest.TestCase):
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()