mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
fix the _namespace_map cleanup for cElementTree tests.
This commit is contained in:
parent
e59a306081
commit
1639505c38
2 changed files with 3 additions and 6 deletions
|
@ -1086,6 +1086,8 @@ _namespace_map = {
|
|||
# dublin core
|
||||
"http://purl.org/dc/elements/1.1/": "dc",
|
||||
}
|
||||
# For tests and troubleshooting
|
||||
register_namespace._namespace_map = _namespace_map
|
||||
|
||||
def _raise_serialization_error(text):
|
||||
raise TypeError(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue