##// END OF EJS Templates
fix possible race condition in test_await_data...
fix possible race condition in test_await_data ar.data checks the latest value, and was checked twice assuming no change. This could cause `4` to stop the iteration but be absent from `found`, causing test failure.

File last commit:

r9190:20a102a5
r13482:d31f0a26
Show More
embed1.py
10 lines | 221 B | text/x-python | PythonLexer
"""This tests standard embedding, automatically detecting the module and
local namespaces."""
f = set([1,2,3,4,5])
def bar(foo):
import IPython
IPython.embed(banner1='check f in globals, foo in locals')
bar(f)