##// END OF EJS Templates
Merge pull request #9959 from Carreau/5.x...
Merge pull request #9959 from Carreau/5.x Bunch of 5.x backport.

File last commit:

r16114:15cc5a8e
r22899:50292c67 merge
Show More
embed_division.py
5 lines | 266 B | text/x-python | PythonLexer
"""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)