diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2011-01-06 21:57:06 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2011-01-06 21:57:06 (GMT) |
commit | 610e544bf72c9e29f216af8ab23544ee6ae45b39 (patch) | |
tree | 8775a08fbfbc162d95be99dfa2a9e7a24c070d8f /Lib/test/test_time.py | |
parent | 388af4bb35a9d5cc379c5f30f72349611c4f28b2 (diff) | |
download | cpython-610e544bf72c9e29f216af8ab23544ee6ae45b39.zip cpython-610e544bf72c9e29f216af8ab23544ee6ae45b39.tar.gz cpython-610e544bf72c9e29f216af8ab23544ee6ae45b39.tar.bz2 |
Further simplify gettmarg()
Diffstat (limited to 'Lib/test/test_time.py')
-rw-r--r-- | Lib/test/test_time.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ 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) |