Skip to content

Commit

Permalink
Python: Expand dict-content tt test even more
Browse files Browse the repository at this point in the history
While it might be useful to track content to any lookup, it's not
something we do right now.
  • Loading branch information
RasmusWL committed Mar 12, 2024
1 parent d48a6cc commit 475efd9
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,17 @@ def return_func_in_dict_update():
dct2['contested']() # $ tt=func2 SPURIOUS: tt=func


## non-precise access is not supported right now
for k in dct2:
dct2[k]() # $ MISSING: tt=func tt=func2

for v in dct2.values():
v() # $ MISSING: tt=func tt=func2

for k, v in dct2.items():
v() # $ MISSING: tt=func tt=func2


def return_func_in_list():
return [func, 42]

Expand Down

0 comments on commit 475efd9

Please sign in to comment.