##// END OF EJS Templates
avoid deprecated asyncio.get_event_loop...
avoid deprecated asyncio.get_event_loop get_running_loop is only valid from inside a coroutine EventLoopPolicy.get_event_loop is _not_ deprecated

File last commit:

r22978:37da7145
r27192:31475529
Show More
embed_flufl.py
5 lines | 269 B | text/x-python | PythonLexer
"""This tests that future compiler flags are passed to the embedded IPython."""
from __future__ import barry_as_FLUFL
from IPython import embed
embed(banner1='', header='check 1 <> 2 == True')
embed(banner1='', header='check 1 <> 2 cause SyntaxError', compile_flags=0)