aboutsummaryrefslogtreecommitdiff
path: root/tests/docx/body_xml_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/docx/body_xml_tests.py')
-rw-r--r--tests/docx/body_xml_tests.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/docx/body_xml_tests.py b/tests/docx/body_xml_tests.py
index eade1e6..188e724 100644
--- a/tests/docx/body_xml_tests.py
+++ b/tests/docx/body_xml_tests.py
@@ -1206,13 +1206,6 @@ def _read_document_xml_element(*args, **kwargs):
**kwargs)
-def _read_document_xml_elements(*args, **kwargs):
- return _read_document_xml(
- lambda reader, element: reader.read_all([element]),
- *args,
- **kwargs)
-
-
def _read_document_xml(func, element, *args, **kwargs):
numbering = kwargs.pop("numbering", Numbering.EMPTY)
reader = body_xml.reader(*args, numbering=numbering, **kwargs)