summaryrefslogtreecommitdiffstats
path: root/tests/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/util.py')
-rw-r--r--tests/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util.py b/tests/util.py
index ed8ecadf..4d5fea67 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -210,7 +210,7 @@ class Fuzzy(object):
self.re = re.compile(regex)
if type is None:
type = unicode
- assert type in (unicode, str)
+ assert type in (unicode, str, basestring)
self.regex = regex
self.type = type
self.test = test