summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_time.py
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2011-01-06 21:57:06 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2011-01-06 21:57:06 (GMT)
commit610e544bf72c9e29f216af8ab23544ee6ae45b39 (patch)
tree8775a08fbfbc162d95be99dfa2a9e7a24c070d8f /Lib/test/test_time.py
parent388af4bb35a9d5cc379c5f30f72349611c4f28b2 (diff)
downloadcpython-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.py1
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)