tests/basics: Add test for builtin locals().

This commit is contained in:
Damien George 2016-12-20 14:08:57 +11:00
parent d291007fea
commit b470f59892
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
# test builtin locals()
x = 123
print(locals()['x'])