commit | 610e544bf72c9e29f216af8ab23544ee6ae45b39 | [log] [tgz] |
---|---|---|
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | Thu Jan 06 21:57:06 2011 +0000 |
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | Thu Jan 06 21:57:06 2011 +0000 |
tree | 8775a08fbfbc162d95be99dfa2a9e7a24c070d8f | |
parent | 388af4bb35a9d5cc379c5f30f72349611c4f28b2 [diff] [blame] |
Further simplify gettmarg()
diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py index af0a960..fca221c 100644 --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py
@@ -131,6 +131,7 @@ 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)