def test_new_class_subclass(self): C = types.new_class("C", (int,)) self.assertTrue(issubclass(C, int))