def test_ints(self):
        class C(int):
            pass
        try:
            foo = int(None)
        except __HOLE__:
            pass
        else:
            self.assert_(False, "should have raised TypeError")
        try:
            foo = C(None)
        except TypeError:
            pass
        else:
            self.assert_(False, "should have raised TypeError")
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_descr_jy.py/TestDescrTestCase.test_ints