##// END OF EJS Templates
Add the new search option `n` to the messaging protocol
Add the new search option `n` to the messaging protocol

File last commit:

r7896:24ac74e6
r8401:71f1c23a
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)