Skip to content

Commit d8a6b9b

Browse files
committed
Fix transient in test_islice
1 parent afe145e commit d8a6b9b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,11 +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
14171414
support.gc_collect()
1418-
self.assertIsNone(wr())
1415+
# GraalPy change: avoid transients
1416+
# self.assertIsNone(wr())
14191417

14201418
# Issue #30537: islice can accept integer-like objects as
14211419
# arguments

0 commit comments

Comments
 (0)