diff options
| -rw-r--r-- | mammoth/docx/__init__.py | 3 | ||||
| -rw-r--r-- | mammoth/docx/document_xml.py | 5 | ||||
| -rw-r--r-- | tests/docx/document_xml_tests.py | 2 | ||||
| -rw-r--r-- | tests/docx/docx_tests.py | 1 |
4 files changed, 3 insertions, 8 deletions
diff --git a/mammoth/docx/__init__.py b/mammoth/docx/__init__.py index 17c90a8..6e1013b 100644 --- a/mammoth/docx/__init__.py +++ b/mammoth/docx/__init__.py @@ -1,8 +1,7 @@ import zipfile -from .. import documents from ..results import Result -from .xmlparser import parse_xml, node_types +from .xmlparser import parse_xml from .document_xml import read_document_xml_element diff --git a/mammoth/docx/document_xml.py b/mammoth/docx/document_xml.py index c83c28c..1c9a43b 100644 --- a/mammoth/docx/document_xml.py +++ b/mammoth/docx/document_xml.py @@ -1,8 +1,5 @@ -import zipfile - from .. import documents -from ..results import Result -from .xmlparser import parse_xml, node_types +from .xmlparser import node_types _handlers = {} diff --git a/tests/docx/document_xml_tests.py b/tests/docx/document_xml_tests.py index 2771e2c..8178cc9 100644 --- a/tests/docx/document_xml_tests.py +++ b/tests/docx/document_xml_tests.py @@ -1,6 +1,6 @@ from nose.tools import istest, assert_equal -from mammoth import docx, documents +from mammoth import documents from mammoth.docx.xmlparser import element as xml_element, text as xml_text from mammoth.docx.document_xml import read_document_xml_element diff --git a/tests/docx/docx_tests.py b/tests/docx/docx_tests.py index 39895cb..c20a41d 100644 --- a/tests/docx/docx_tests.py +++ b/tests/docx/docx_tests.py @@ -1,7 +1,6 @@ from nose.tools import istest, assert_equal from mammoth import docx, documents -from mammoth.docx.xmlparser import element as xml_element, text as xml_text from ..testing import test_path |
