##// END OF EJS Templates
Add a small line to whatsnew.rst
Add a small line to whatsnew.rst

File last commit:

r16114:15cc5a8e
r17886:6476f5a8
Show More
embed_division.py
5 lines | 266 B | text/x-python | PythonLexer
Bradley M. Froehle
Add test scripts for embed with compile flags.
r7896 """This tests that future compiler flags are passed to the embedded IPython."""
from __future__ import division
from IPython import embed
embed(banner1='', header='check 1/2 == 0.5 in Python 2')
embed(banner1='', header='check 1/2 = 0 in Python 2', compile_flags=0)