summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2007-02-03 21:49:06 (GMT)
committerThomas Wouters <thomas@python.org>2007-02-03 21:49:06 (GMT)
commit08f00467b977325c55c99b160a29fd854597ccfe (patch)
tree598d476b767f3b006c33b3c44c1ed2dd41dcc824 /Lib/test
parentb213704f3cad4fc61c4117afe559454b02193e5b (diff)
downloadcpython-08f00467b977325c55c99b160a29fd854597ccfe.zip
cpython-08f00467b977325c55c99b160a29fd854597ccfe.tar.gz
cpython-08f00467b977325c55c99b160a29fd854597ccfe.tar.bz2
- 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.)
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_pyclbr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pyclbr.py b/Lib/test/test_pyclbr.py
index 7c9d4aa..a03daa9 100644
--- a/Lib/test/test_pyclbr.py
+++ b/Lib/test/test_pyclbr.py
@@ -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 '''