##// END OF EJS Templates
Merge pull request #12171 from ngoldbaum/run-module-import-hook...
Merge pull request #12171 from ngoldbaum/run-module-import-hook support using '%run -m' for modules importable via an import hook

File last commit:

r22978:37da7145
r25586:0395aa5c merge
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)