Index: Lib/test/test_trace.py =================================================================== --- Lib/test/test_trace.py (revision 62635) +++ Lib/test/test_trace.py (working copy) @@ -161,7 +161,7 @@ # Tight loop with while(1) example (SF #765624) def tightloop_example(): - items = range(0, 3) + items = list(range(0, 3)) try: i = 0 while 1: @@ -184,7 +184,7 @@ (7, 'return')] def tighterloop_example(): - items = range(1, 4) + items = list(range(1, 4)) try: i = 0 while 1: i = items[i]