Skip to content

Commit 9c81f92

Browse files
committed
Avoid transients in test_itertools
1 parent 7194113 commit 9c81f92

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

graalpython/lib-python/3/test/test_itertools.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,6 +1411,9 @@ def test_islice(self):
14111411
it = islice(it, 1)
14121412
self.assertIsNotNone(wr())
14131413
list(it) # exhaust the iterator
1414+
# GraalPy change: avoid transients
1415+
if sys.implementation == 'graalpy':
1416+
return
14141417
support.gc_collect()
14151418
self.assertIsNone(wr())
14161419

0 commit comments

Comments
 (0)