Mercurial > cpython-lru_cache-weakref
diff Lib/sqlite3/test/dbapi.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 | 62ca540d8b6e |
| children | 3c9232a684ae |
line wrap: on
line diff
--- a/Lib/sqlite3/test/dbapi.py Sat Nov 20 18:24:54 2010 +0000 +++ b/Lib/sqlite3/test/dbapi.py Sat Nov 20 19:04:17 2010 +0000 @@ -43,7 +43,7 @@ sqlite.paramstyle) def CheckWarning(self): - self.assert_(issubclass(sqlite.Warning, Exception), + self.assertTrue(issubclass(sqlite.Warning, Exception), "Warning is not a subclass of Exception") def CheckError(self):
