Skip to content

Commit b470f59

Browse files
committed
tests/basics: Add test for builtin locals().
1 parent d291007 commit b470f59

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/basics/builtin_locals.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# test builtin locals()
2+
3+
x = 123
4+
print(locals()['x'])

0 commit comments

Comments
 (0)