mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
convert old fail* assertions to assert*
This commit is contained in:
parent
98d23f2e06
commit
c9c0f201fe
275 changed files with 4540 additions and 4540 deletions
|
@ -118,7 +118,7 @@ class DumbDBMTestCase(unittest.TestCase):
|
|||
f['1'] = 'a'
|
||||
f.close()
|
||||
f = dumbdbm.open(_fname, 'r')
|
||||
self.assert_('\u00fc' in f)
|
||||
self.assertTrue('\u00fc' in f)
|
||||
self.assertEqual(f['\u00fc'.encode('utf-8')],
|
||||
self._dict['\u00fc'.encode('utf-8')])
|
||||
self.assertEqual(f[b'1'], b'a')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue