diff options
author | Walter Dörwald <walter@livinglogic.de> | 2007-05-22 16:52:54 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2007-05-22 16:52:54 (GMT) |
commit | 1f5947b30a870008ebd2367b2f4f9a5897f657c9 (patch) | |
tree | 2a881cb9b9dcfeaa1e96dc0905f0a9b56993caca /Lib/test/test_isinstance.py | |
parent | 02427050c187ba54649c7ad16b35370c31a0b238 (diff) | |
download | cpython-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.py | 3 |
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 |