mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Patch by Christian Heimes to change self.assert_(x == y) into
self.assertEqual(x, y). (Christian used self.failUnlessEqual(), but the double negative makes it hard to grok, so I changed it.)
This commit is contained in:
parent
c9b9de1797
commit
e61fd5b5ed
23 changed files with 294 additions and 294 deletions
|
@ -1113,7 +1113,7 @@ class Test_TestLoader(TestCase):
|
|||
# "The default value is 'test'"
|
||||
def test_testMethodPrefix__default_value(self):
|
||||
loader = unittest.TestLoader()
|
||||
self.failUnless(loader.testMethodPrefix == 'test')
|
||||
self.assertEqual(loader.testMethodPrefix, 'test')
|
||||
|
||||
################################################################
|
||||
### /Tests for TestLoader.testMethodPrefix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue