mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
- Fix conversion glitch in test_pyclbr, which caused a test to not fail
when it should. - Remove unneeded classic-class support from pydoc (which would otherwise cause test_pyclbr to fail.)
This commit is contained in:
parent
b213704f3c
commit
08f00467b9
2 changed files with 1 additions and 8 deletions
|
@ -44,7 +44,7 @@ class PyclbrTest(TestCase):
|
|||
if key in ignore: return
|
||||
if key not in obj:
|
||||
print >>sys.stderr, "***",key
|
||||
self.failUnless(key) in obj
|
||||
self.failUnless(key in obj)
|
||||
|
||||
def assertEqualsOrIgnored(self, a, b, ignore):
|
||||
''' succeed iff a == b or a in ignore or b in ignore '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue