Kaydet (Commit) 7cb6f2fe authored tarafından Alexander Belopolsky's avatar Alexander Belopolsky

Fixed the test

üst 06360405
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment