summaryrefslogtreecommitdiff
path: root/Lib/test/test_sax.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_sax.py')
-rw-r--r--Lib/test/test_sax.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_sax.py b/Lib/test/test_sax.py
index 9b40036dfb..2b09cd6801 100644
--- a/Lib/test/test_sax.py
+++ b/Lib/test/test_sax.py
@@ -111,8 +111,8 @@ def test_xmlgen_ns():
gen.startDocument()
gen.startPrefixMapping("ns1", ns_uri)
- gen.startElementNS((ns_uri, "doc"), "ns:doc", {})
- gen.endElementNS((ns_uri, "doc"), "ns:doc")
+ gen.startElementNS((ns_uri, "doc"), "ns1:doc", {})
+ gen.endElementNS((ns_uri, "doc"), "ns1:doc")
gen.endPrefixMapping("ns1")
gen.endDocument()