summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
Diffstat (limited to 'Demo')
-rw-r--r--Demo/classes/Range.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/classes/Range.py b/Demo/classes/Range.py
index a0cef74..4e6f45d 100644
--- a/Demo/classes/Range.py
+++ b/Demo/classes/Range.py
@@ -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: