[Python-bugs-list] [ python-Bugs-621579 ] test_sax fails on freebsd

SourceForge.net noreply@sourceforge.net
Sat, 21 Jun 2003 11:58:06 -0700


Bugs item #621579, was opened at 2002-10-10 21:21
Message generated for change (Comment added) made by pieterb
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=621579&group_id=5470

Category: Build
Group: 3rd Party
Status: Closed
Resolution: Invalid
Priority: 6
Submitted By: Barry A. Warsaw (bwarsaw)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: test_sax fails on freebsd

Initial Comment:
test_sax consistently fails on the freebsd system on
SF's compile farm.  Fred said he'll look into it, so
creating this bug report so he doesn't forget <wink>.

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

Comment By: PieterB (pieterb)
Date: 2003-06-21 18:58

Message:
Logged In: YES 
user_id=458461

PyXML and expat2 are not included in the default Python 
FreeBSD port (as far as I know).

See also: http://sourceforge.net/tracker/?
group_id=5470&atid=105470&func=detail&aid=758504


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

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-10-12 03:36

Message:
Logged In: YES 
user_id=3066

Oddly enough, this isn't a real problem.  ;-)  What's
getting tested on that machine is not the xml.sax package
provided with Python 2.2.2, but PyXML 0.7.1, which does
indeed exhibit that bug (more recent versions of PyXML do
not have that one).

What's happening is that the default prefix, /usr/local/,
already contains a Python 2.2 installation with PyXML 0.7.1
installed, and Python's default sys.path when running from
the build directory includes the site-packages of the
corresponding installation.  I think *that's* a bug, and
there's already a SF bug report on the issue.

Building Python with a prefix that isn't "contanimated" in
this way shows that the pyexpat module is built using the
Expat 1.95.2 installed on this system, and the tests pass.

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

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-10-10 21:26

Message:
Logged In: YES 
user_id=3066

Here's the relevant part of the test output Barry emailed to
me earlier.  Hopefully it won't get too badly munged by SF.  ;-)

Failed test_expat_nsattrs_wattr
Expected:
[('start', ('http://xml.python.org/1', 'abc'), 'abc'),
 ('start', ('http://xml.python.org/2', 'def'), 'foo:def'),
 ('end', ('http://xml.python.org/2', 'def'), 'foo:def'),
 ('start', ('http://xml.python.org/1', 'ghi'), 'ghi'),
 ('end', ('http://xml.python.org/1', 'ghi'), 'ghi'),
 ('end', ('http://xml.python.org/1', 'abc'), 'abc')]
Received:
[('start', (u'http://xml.python.org/1', u'abc'), None),
 ('start', (u'http://xml.python.org/2', u'def'), None),
 ('end', (u'http://xml.python.org/2', u'def'), None),
 ('start', (u'http://xml.python.org/1', u'ghi'), None),
 ('end', (u'http://xml.python.org/1', u'ghi'), None),
 ('end', (u'http://xml.python.org/1', u'abc'), None)]
Failed test_expat_nsdecl_pair_diff
Expected:
[('start', ('http://xml.python.org/', 'abc'), 'foo:abc'),
 ('start', ('http://xml.python.org/', 'def'), 'foo:def'),
 ('end', ('http://xml.python.org/', 'def'), 'foo:def'),
 ('start', ('http://xml.python.org/', 'ghi'), 'foo:ghi'),
 ('end', ('http://xml.python.org/', 'ghi'), 'foo:ghi'),
 ('end', ('http://xml.python.org/', 'abc'), 'foo:abc')]
Received:
[('start', (u'http://xml.python.org/', u'abc'), None),
 ('start', (u'http://xml.python.org/', u'def'), None),
 ('end', (u'http://xml.python.org/', u'def'), None),
 ('start', (u'http://xml.python.org/', u'ghi'), None),
 ('end', (u'http://xml.python.org/', u'ghi'), None),
 ('end', (u'http://xml.python.org/', u'abc'), None)]
Failed test_expat_nsdecl_pair_same
Expected:
[('start', ('http://xml.python.org/', 'abc'), 'abc'),
 ('end', ('http://xml.python.org/', 'abc'), 'abc')]
Received:
[('start', (u'http://xml.python.org/', u'abc'), None),
 ('end', (u'http://xml.python.org/', u'abc'), None)]
Failed test_expat_nsdecl_single


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

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