summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Gustäbel <lars@gustaebel.de>2000-09-27 08:12:17 (GMT)
committerLars Gustäbel <lars@gustaebel.de>2000-09-27 08:12:17 (GMT)
commit6a7768ae4f90a79d79f4221f676281021f5f6f69 (patch)
tree0533d03dbd7abfc20d892fe5d0737d81a4e7918b
parentfc1b60e3da9037db2cbd6776ed7969ba1e52b8a7 (diff)
downloadcpython-6a7768ae4f90a79d79f4221f676281021f5f6f69.zip
cpython-6a7768ae4f90a79d79f4221f676281021f5f6f69.tar.gz
cpython-6a7768ae4f90a79d79f4221f676281021f5f6f69.tar.bz2
Fixed misleading qname in test_xmlgen_ns (reported by loewis).
-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 9b40036..2b09cd6 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()