

@unittest.skipUnless((platform.libc_ver()[0] != 'glibc'), 'disabled because of a bug in glibc. Issue #13309')
def test_mktime_error(self):
    tt = time.gmtime(self.t)
    tzname = time.strftime('%Z', tt)
    self.assertNotEqual(tzname, 'LMT')
    try:
        time.mktime(((- 1), 1, 1, 0, 0, 0, (- 1), (- 1), (- 1)))
    except OverflowError:
        pass
    self.assertEqual(time.strftime('%Z', tt), tzname)

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