diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-08-31 10:44:16 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-08-31 10:44:16 +0100 |
| commit | 045edf1c661b09957e4f87c37981b209a29512ae (patch) | |
| tree | 3223ba0425a32fb98d7d639da7dbcbbfbcbae45c /tests/docx | |
| parent | 7145a7199033988065f472af5a964587acbe06eb (diff) | |
Fix support on different Python versions
Diffstat (limited to 'tests/docx')
| -rw-r--r-- | tests/docx/footnotes_xml_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/docx/footnotes_xml_tests.py b/tests/docx/footnotes_xml_tests.py index c3fed04..645f3d0 100644 --- a/tests/docx/footnotes_xml_tests.py +++ b/tests/docx/footnotes_xml_tests.py @@ -1,4 +1,4 @@ -from nose.tools import istest, assert_equal, assert_is +from nose.tools import istest, assert_equal from mammoth.docx.xmlparser import element as xml_element from mammoth.docx.footnotes_xml import read_footnotes_xml_element @@ -11,7 +11,7 @@ def id_and_body_of_footnote_are_read(): xml_element("w:footnote", {"w:id": "1"}, footnote_body), ])) assert_equal(1, len(footnotes)) - assert_is(footnote_body, footnotes[0].body) + assert footnote_body is footnotes[0].body assert_equal("1", footnotes[0].id) |
