mirror of
https://github.com/python/cpython.git
synced 2025-11-26 13:22:51 +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
|
|
@ -306,7 +306,7 @@ class UnicodeTranslationsTest(GettextBaseTest):
|
|||
self._ = self.t.gettext
|
||||
|
||||
def test_unicode_msgid(self):
|
||||
unless = self.failUnless
|
||||
unless = self.assertTrue
|
||||
unless(isinstance(self._(''), str))
|
||||
unless(isinstance(self._(''), str))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue