mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Fixed misleading qname in test_xmlgen_ns (reported by loewis).
This commit is contained in:
parent
fc1b60e3da
commit
6a7768ae4f
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue