##// END OF EJS Templates
Merge pull request #12825 from meeseeksmachine/auto-backport-of-pr-12809-on-7.x...
Merge pull request #12825 from meeseeksmachine/auto-backport-of-pr-12809-on-7.x Backport PR #12809 on branch 7.x (Allow passing a custom CachingCompiler to the interactive shell)

File last commit:

r22978:37da7145
r26337:3c039d4c merge
Show More
embed_no_flufl.py
6 lines | 293 B | text/x-python | PythonLexer
"""This tests that future compiler flags are passed to the embedded IPython."""
from IPython import embed
import __future__
embed(banner1='', header='check 1 <> 2 cause SyntaxError')
embed(banner1='', header='check 1 <> 2 == True',
compile_flags=__future__.barry_as_FLUFL.compiler_flag)