Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(270)

Unified Diff: Lib/sqlite3/test/types.py

Issue 3232042: #9424: convert deprecated assert methods in the Python test suite Base URL: http://svn.python.org/projects/python/branches/py3k/
Patch Set: Minor cleanups Created 13 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/sqlite3/test/dbapi.py ('k') | Lib/test/buffer_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Lib/sqlite3/test/types.py
===================================================================
--- Lib/sqlite3/test/types.py (revision 86567)
+++ Lib/sqlite3/test/types.py (working copy)
@@ -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):
« no previous file with comments | « Lib/sqlite3/test/dbapi.py ('k') | Lib/test/buffer_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b