[Zope-CVS] CVS: Zope - test.py:1.1.2.3
Fred L. Drake, Jr.
fdrake@acm.org
Thu, 8 Aug 2002 13:12:01 -0400
Update of /cvs-repository/Zope
In directory cvs.zope.org:/tmp/cvs-serv8698
Modified Files:
Tag: Zope-2_7-development-branch
test.py
Log Message:
Use the one-true-way of importing Expat.
=== Zope/test.py 1.1.2.2 => 1.1.2.3 ===
--- Zope/test.py:1.1.2.2 Wed Jul 17 15:09:23 2002
+++ Zope/test.py Thu Aug 8 13:12:00 2002
@@ -105,7 +105,7 @@
# We know we're going to need this so import it now. Python 2.2 does not come
# with the pyexpat library by default, although Python 2.3 will.
try:
- import pyexpat
+ import xml.parsers.expat
except ImportError:
print >> sys.stderr, "WARNING: the pyexpat module is required"
raise