[Python-bugs-list] [ python-Bugs-529132 ] test_pyclbr broken on 2.2 branch

noreply@sourceforge.net noreply@sourceforge.net
Thu, 14 Mar 2002 09:26:28 -0800


Bugs item #529132, was opened at 2002-03-12 21:33
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=529132&group_id=5470

Category: Python Library
Group: Python 2.2.1 candidate
Status: Closed
Resolution: Fixed
Priority: 7
Submitted By: Fred L. Drake, Jr. (fdrake)
Assigned to: Michael Hudson (mwh)
Summary: test_pyclbr broken on 2.2 branch

Initial Comment:
The test suite fails for pyclbr; it looks like Jeremy's
changes for the test need to be back-ported (rev. 1.7),
since the httplib module that it relies on has changed.

test test_pyclbr failed -- Traceback (most recent call
last):
  File "../Lib/test/test_pyclbr.py", line 142, in
test_others
    cm('httplib', ignore=('error',    # set with =
  File "../Lib/test/test_pyclbr.py", line 66, in
checkModule
    self.assertHasattr(module, name, ignore)
  File "../Lib/test/test_pyclbr.py", line 36, in
assertHasattr
    self.failUnless(hasattr(obj, attr))
  File
"/home/fdrake/projects/python22-maint/Lib/unittest.py",
line 262, in failUnless
    if not expr: raise self.failureException, msg
AssertionError



----------------------------------------------------------------------

>Comment By: Michael Hudson (mwh)
Date: 2002-03-14 17:26

Message:
Logged In: YES 
user_id=6656

Heh, this is what I get for complaining about not getting
enough email from the tracker, I guess.

----------------------------------------------------------------------

Comment By: Michael Hudson (mwh)
Date: 2002-03-14 17:24

Message:
Logged In: YES 
user_id=6656

Used Jeremy's fix from the trunk.  This is related to 

[ 529135 ] test_pyclbr: bad dependency for input

which will remain open.

I guess I'm hoping this is a bug in the test, not in the
library...

----------------------------------------------------------------------

Comment By: Michael Hudson (mwh)
Date: 2002-03-14 17:24

Message:
Logged In: YES 
user_id=6656

Used Jeremy's fix from the trunk.  This is related to 

[ 529135 ] test_pyclbr: bad dependency for input

which will remain open.

I guess I'm hoping this is a bug in the test, not in the
library...

----------------------------------------------------------------------

Comment By: Michael Hudson (mwh)
Date: 2002-03-13 11:27

Message:
Logged In: YES 
user_id=6656

Oops!

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=529132&group_id=5470