##// END OF EJS Templates
1st proposal
1st proposal

File last commit:

r22978:37da7145
r27885:bd008c4c
Show More
embed_flufl.py
5 lines | 269 B | text/x-python | PythonLexer
Paul Ivanov
rewrite __future__ embed tests to use PEP 401
r22978 """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)