summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pyexpat.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-07-30 21:47:25 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-07-30 21:47:25 (GMT)
commit3c19ec4eab4dbee3494cd8b8db715e2939d2b917 (patch)
tree97c4252d10a718be2c825fa5e53d8716c8d01fcd /Lib/test/test_pyexpat.py
parent0b8de98f08d70cb8c922e7c478e727cdc86ba025 (diff)
downloadcpython-3c19ec4eab4dbee3494cd8b8db715e2939d2b917.zip
cpython-3c19ec4eab4dbee3494cd8b8db715e2939d2b917.tar.gz
cpython-3c19ec4eab4dbee3494cd8b8db715e2939d2b917.tar.bz2
Fix when pyexpat not built
Import pyexpat first so that import error occurs when it is not available.
Diffstat (limited to 'Lib/test/test_pyexpat.py')
-rw-r--r--Lib/test/test_pyexpat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_pyexpat.py b/Lib/test/test_pyexpat.py
index 873dd69..404dc35 100644
--- a/Lib/test/test_pyexpat.py
+++ b/Lib/test/test_pyexpat.py
@@ -3,6 +3,7 @@
# XXX TypeErrors on calling handlers, or on bad return values from a
# handler, are obscure and unhelpful.
+import pyexpat
from xml.parsers import expat
from test_support import sortdict