

def test_insane_timestamps(self):
    for func in (time.ctime, time.gmtime, time.localtime):
        for unreasonable in ((- 1e+200), 1e+200):
            self.assertRaises(OverflowError, func, unreasonable)

dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_time.py TimeTestCase.test_insane_timestamps/original