# test that viper functions capture their globals contextgl={}exec("""@micropython.viperdef f(): return x""",gl,)# x is not yet in the globals, f should not see ittry:print(gl["f"]())exceptNameError:print("NameError")# x is in globals, f should now see itgl["x"]=123print(gl["f"]())