diff options
author | Michael W. Hudson <mwh@python.net> | 2002-11-05 15:28:51 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2002-11-05 15:28:51 (GMT) |
commit | 173f11da5dae76c504dac3606c27b74673ccfee4 (patch) | |
tree | 4941ffa1ae203a4c87e4c3bdf67a2a35a8708e23 /Lib/test/test_generators.py | |
parent | d7c14c6c9b5b589d33810fb64ad2b883d52ff7ae (diff) | |
download | cpython-173f11da5dae76c504dac3606c27b74673ccfee4.zip cpython-173f11da5dae76c504dac3606c27b74673ccfee4.tar.gz cpython-173f11da5dae76c504dac3606c27b74673ccfee4.tar.bz2 |
Some days, I think my comment of
/* this is harder to get right than you might think */
angered some God somewhere. After noticing
>>> range(5000000)[slice(96360, None, 439)]
[]
I found that my cute test for the slice being empty failed due to
overflow. Fixed, and added simple test (not the above!).
Diffstat (limited to 'Lib/test/test_generators.py')
0 files changed, 0 insertions, 0 deletions