File: embed_no_flufl.py

package info (click to toggle)
ipython 9.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 8,624 kB
  • sloc: python: 45,268; sh: 317; makefile: 168
file content (6 lines) | stat: -rw-r--r-- 293 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
"""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)