Mercurial > cpython-lru_cache-weakref
diff Lib/sqlite3/test/types.py @ 66310:9fe76c26ea9f
#9424: Replace deprecated assert* methods in the Python test suite.
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Sat, 20 Nov 2010 19:04:17 +0000 |
| parents | 5111d3299741 |
| children | 3c9232a684ae be6c38d1817b |
line wrap: on
line diff
--- a/Lib/sqlite3/test/types.py Sat Nov 20 18:24:54 2010 +0000 +++ b/Lib/sqlite3/test/types.py Sat Nov 20 19:04:17 2010 +0000 @@ -291,7 +291,7 @@ no row returned. """ self.cur.execute("select * from test where 0 = 1") - self.assert_(self.cur.description[0][0] == "x") + self.assertEqual(self.cur.description[0][0], "x") class ObjectAdaptationTests(unittest.TestCase): def cast(obj):
