embed_no_flufl.py
6 lines
| 293 B
| text/x-python
|
PythonLexer
Bradley M. Froehle
|
r7896 | """This tests that future compiler flags are passed to the embedded IPython.""" | ||
from IPython import embed | ||||
import __future__ | ||||
Paul Ivanov
|
r22978 | embed(banner1='', header='check 1 <> 2 cause SyntaxError') | ||
embed(banner1='', header='check 1 <> 2 == True', | ||||
compile_flags=__future__.barry_as_FLUFL.compiler_flag) | ||||