mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Further simplify gettmarg()
This commit is contained in:
parent
388af4bb35
commit
610e544bf7
2 changed files with 6 additions and 19 deletions
|
@ -131,6 +131,7 @@ class TimeTestCase(unittest.TestCase):
|
|||
self.assertRaises(OverflowError, time.asctime, (bigyear + 1,) + (0,)*8)
|
||||
self.assertRaises(TypeError, time.asctime, 0)
|
||||
self.assertRaises(TypeError, time.asctime, ())
|
||||
self.assertRaises(TypeError, time.asctime, (0,) * 10)
|
||||
|
||||
def test_asctime_bounding_check(self):
|
||||
self._bounds_checking(time.asctime)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue