Skip to content

Commit eb7e97b

Browse files
committed
GR-24587: fix test_dict.test_reverse_locals transient gate failure
1 parent 507ae68 commit eb7e97b

File tree

1 file changed

+2
-2
lines changed
  • graalpython/com.oracle.graal.python.test/src/tests

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python.test/src/tests/test_dict.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,8 +734,8 @@ def test_wrapped_string_get():
734734
def test_reverse_locals():
735735
a = 'atest'
736736
b = 'btest'
737-
dict = locals()
738-
assert list(reversed(dict)) == ['b', 'a'], "expected ['b', 'a'] got " + str(list(reversed(dict))) + " instead "
737+
r = list(reversed(locals()))
738+
assert r == ['b', 'a'], "expected ['b', 'a'] got " + str(r) + " instead "
739739

740740
def test_concat():
741741
r = {**{}}

0 commit comments

Comments
 (0)