Skip to content

Commit 0eef812

Browse files
.
1 parent c819ec2 commit 0eef812

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

tests/integrations/pure_eval/test_pure_eval.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,19 @@ def foo():
6767
"e",
6868
"w",
6969
"q",
70+
"events",
71+
]
72+
for key in expected_keys:
73+
assert key in frame_vars
74+
75+
possible_keys = expected_keys + [
7076
"(q, w, e, r, t, y, u, i, o, p, a, s)",
7177
"str((q, w, e, r, t, y, u, i, o, p, a, s))",
72-
"events",
7378
]
74-
assert list(frame_vars.keys()) == expected_keys
79+
80+
for frame_var in frame_vars:
81+
assert frame_var in possible_keys
82+
7583
assert frame_vars["namespace.d"] == {"1": "2"}
7684
assert frame_vars["namespace.d[1]"] == "2"
7785
else:

0 commit comments

Comments
 (0)