Mercurial > cpython-lru_cache-weakref
diff Lib/sqlite3/test/dbapi.py @ 66340:2beb25369289 3.1
Merged revisions 86596 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line
#9424: Replace deprecated assert* methods in the Python test suite.
........
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Sun, 21 Nov 2010 01:30:29 +0000 |
| parents | ecca703bc0df |
| children | 3c9232a684ae |
line wrap: on
line diff
--- a/Lib/sqlite3/test/dbapi.py Sun Nov 21 00:43:28 2010 +0000 +++ b/Lib/sqlite3/test/dbapi.py Sun Nov 21 01:30:29 2010 +0000 @@ -40,7 +40,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):
