summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sax.py
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2001-01-17 19:11:13 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2001-01-17 19:11:13 (GMT)
commit3661908a6ac75026e4504d9f62a6ac2e2fb2ec5e (patch)
treeeea0f44df59aaaf014eb4580f1fad308e31601bf /Lib/test/test_sax.py
parent8551dd60781f738e5e5ef4e22b6f071d27e20b50 (diff)
downloadcpython-3661908a6ac75026e4504d9f62a6ac2e2fb2ec5e.zip
cpython-3661908a6ac75026e4504d9f62a6ac2e2fb2ec5e.tar.gz
cpython-3661908a6ac75026e4504d9f62a6ac2e2fb2ec5e.tar.bz2
This patch removes all uses of "assert" in the regression test suite
and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
Diffstat (limited to 'Lib/test/test_sax.py')
-rw-r--r--Lib/test/test_sax.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sax.py b/Lib/test/test_sax.py
index e6f2755..c282c17 100644
--- a/Lib/test/test_sax.py
+++ b/Lib/test/test_sax.py
@@ -12,7 +12,7 @@ from xml.sax.saxutils import XMLGenerator, escape, XMLFilterBase
from xml.sax.expatreader import create_parser
from xml.sax.xmlreader import InputSource, AttributesImpl, AttributesNSImpl
from cStringIO import StringIO
-from test_support import verbose, TestFailed, findfile
+from test_support import verify, verbose, TestFailed, findfile
# ===== Utilities