summaryrefslogtreecommitdiff
path: root/tests/test_intl.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_intl.py')
-rw-r--r--tests/test_intl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_intl.py b/tests/test_intl.py
index 64f584fbb..3f25050c5 100644
--- a/tests/test_intl.py
+++ b/tests/test_intl.py
@@ -77,7 +77,7 @@ def elem_gettexts(elem):
# this function copied from Python-2.7 'ElementTree.itertext'.
# for compatibility to Python-2.6
tag = self.tag
- if not isinstance(tag, basestring) and tag is not None:
+ if not isinstance(tag, six.string_types) and tag is not None:
return
if self.text:
yield self.text