def test_superuser(self):
        self.jack.is_superuser = True
        self.jack.save()
        try:
            Team.objects.convert_from_user(self.jack)
        except __HOLE__:
            pass
        else:
            self.fail("Cannot allow to convert superuser to team")
dataset/ETHPy150Open lukaszb/django-projector/projector/tests/test_user2team_conversion.py/UserToTeamConversion.test_superuser