tests: Rename exec1.py to builtin_exec.py.

This commit is contained in:
Damien George
2017-07-21 15:11:24 +10:00
parent 4368ae3142
commit 6c1b7e008d

View File

@@ -0,0 +1,6 @@
print(exec("def foo(): return 42"))
print(foo())
d = {}
exec("def bar(): return 84", d)
print(d["bar"]())