Remove have_unicode checks and merge those tests into the

normal code (or drop them if they only repeat previous
tests).
This commit is contained in:
Walter Dörwald 2007-05-22 16:52:54 +00:00
parent 02427050c1
commit 1f5947b30a
7 changed files with 56 additions and 195 deletions

View file

@ -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