mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
convert usage of fail* to assert*
This commit is contained in:
parent
be96cf608f
commit
5c8da86f3a
268 changed files with 5017 additions and 5017 deletions
|
@ -306,7 +306,7 @@ class UnicodeTranslationsTest(GettextBaseTest):
|
|||
self._ = self.t.ugettext
|
||||
|
||||
def test_unicode_msgid(self):
|
||||
unless = self.failUnless
|
||||
unless = self.assertTrue
|
||||
unless(isinstance(self._(''), unicode))
|
||||
unless(isinstance(self._(u''), unicode))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue