summaryrefslogtreecommitdiff
path: root/tests/test_repr.py
diff options
context:
space:
mode:
authorJeff Quast <contact@jeffquast.com>2014-11-22 11:42:49 -0800
committerJeff Quast <contact@jeffquast.com>2014-11-22 11:42:49 -0800
commit6389980ae9266ac98f21e86cf58794201f6c8f89 (patch)
treedf211f58d9df3dacbfc77b12be2d6c84a9fd102a /tests/test_repr.py
parent03fe7b5729cd4b12a8c7f61b63c66922b803c81b (diff)
downloadpexpect-git-6389980ae9266ac98f21e86cf58794201f6c8f89.tar.gz
use isinstance of 'str', not 'basestring'
Diffstat (limited to 'tests/test_repr.py')
-rw-r--r--tests/test_repr.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_repr.py b/tests/test_repr.py
index 9f6c026..fa9b546 100644
--- a/tests/test_repr.py
+++ b/tests/test_repr.py
@@ -12,7 +12,7 @@ class TestCaseMisc(PexpectTestCase.PexpectTestCase):
# exercise,
value = p.__str__()
# verify
- assert isinstance(value, basestring)
+ assert isinstance(value, str)
def test_str_spawn(self):
""" Exercise spawn.__str__() """
@@ -21,5 +21,5 @@ class TestCaseMisc(PexpectTestCase.PexpectTestCase):
# exercise,
value = p.__str__()
# verify
- assert isinstance(value, basestring)
+ assert isinstance(value, str)