From 045edf1c661b09957e4f87c37981b209a29512ae Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 31 Aug 2014 10:44:16 +0100 Subject: Fix support on different Python versions --- tests/docx/footnotes_xml_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/docx') 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) -- cgit v1.2.3