summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_isinstance.py
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2007-05-22 16:52:54 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2007-05-22 16:52:54 (GMT)
commit1f5947b30a870008ebd2367b2f4f9a5897f657c9 (patch)
tree2a881cb9b9dcfeaa1e96dc0905f0a9b56993caca /Lib/test/test_isinstance.py
parent02427050c187ba54649c7ad16b35370c31a0b238 (diff)
downloadcpython-1f5947b30a870008ebd2367b2f4f9a5897f657c9.zip
cpython-1f5947b30a870008ebd2367b2f4f9a5897f657c9.tar.gz
cpython-1f5947b30a870008ebd2367b2f4f9a5897f657c9.tar.bz2
Remove have_unicode checks and merge those tests into the
normal code (or drop them if they only repeat previous tests).
Diffstat (limited to 'Lib/test/test_isinstance.py')
-rw-r--r--Lib/test/test_isinstance.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_isinstance.py b/Lib/test/test_isinstance.py
index 691482e..57aea0d 100644
--- a/Lib/test/test_isinstance.py
+++ b/Lib/test/test_isinstance.py
@@ -242,8 +242,7 @@ class TestIsInstanceIsSubclass(unittest.TestCase):
self.assertEqual(True, issubclass(NewSuper, (NewChild, (NewSuper,))))
self.assertEqual(True, issubclass(int, (int, (float, int))))
- if test_support.have_unicode:
- self.assertEqual(True, issubclass(str, (str, (Child, NewChild, basestring))))
+ self.assertEqual(True, issubclass(str, (str, (Child, NewChild, basestring))))
def test_subclass_recursion_limit(self):
# make sure that issubclass raises RuntimeError before the C stack is