From 3c19ec4eab4dbee3494cd8b8db715e2939d2b917 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Mon, 30 Jul 2001 21:47:25 +0000 Subject: Fix when pyexpat not built Import pyexpat first so that import error occurs when it is not available. --- Lib/test/test_pyexpat.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v0.12