Fix when pyexpat not built

Import pyexpat first so that import error occurs when it is not
available.
This commit is contained in:
Jeremy Hylton 2001-07-30 21:47:25 +00:00
parent 0b8de98f08
commit 3c19ec4eab
1 changed files with 1 additions and 0 deletions

View File

@ -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