Fwd: test_pyexpat failed (gryphon01 at my-deja.com)

Fred L. Drake, Jr. fdrake at acm.org
Mon Feb 12 19:53:08 CET 2001


[Jeremy Hylton forwarded this message to me.]
 > From: gryphon01 at my-deja.com
 > To: python-list at python.org
 > Subject: test_pyexpat failed
 > Date: Mon, 12 Feb 2001 04:16:39 GMT
 > 
 > I an trying to build Python 2.0 with expat 1.2. The compile doesn't complain
 > but test_pyexpat says: test test_pyexpat failed -- Writing:
 > "('xml=http://www.w3.org/XML/1998/namespace\\014external_entity', None,
 > 'entity.file', None)", expected:
 > "('http://www.python.org/namespace=http://www.w3.org/XML/1998/namespace\\014e
 > xternal_entity'"

  You're not doing anything wrong; the test suite exposes some
internal data that expat passes through Python to allow the
.ExternalEntityParserCreate() method to pick up context information.
The format of the context information can and has changed over the
life of Expat, but should not be exposed to begin with.  The current
version of the test (in the alphas for 2.1) does not expose this
implementation detail.  You should be able to pick up the files
Lib/test/test_pyexpat.py and Lib/test/output/test_pyexpat from the
Python CVS and use them instead.
  I'll add an entry to the Python 2.0 FAQ.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Digital Creations





More information about the Python-list mailing list