mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Fixed the test
This commit is contained in:
parent
06360405dc
commit
7cb6f2fe10
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class oldrange:
|
|||
def test():
|
||||
import time, builtins
|
||||
#Just a quick sanity check
|
||||
correct_result = builtins.range(5, 100, 3)
|
||||
correct_result = list(builtins.range(5, 100, 3))
|
||||
oldrange_result = list(oldrange(5, 100, 3))
|
||||
genrange_result = list(genrange(5, 100, 3))
|
||||
if genrange_result != correct_result or oldrange_result != correct_result:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue