##// END OF EJS Templates
Updating interact to work with latest state of widgets.
Updating interact to work with latest state of widgets.

File last commit:

r9190:20a102a5
r15135:36e85e9b
Show More
embed_no_division.py
6 lines | 291 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 == 0 in Python 2')
embed(banner1='', header='check 1/2 == 0.5 in Python 2',
compile_flags=__future__.division.compiler_flag)