##// END OF EJS Templates
restore test for __future__ imports...
restore test for __future__ imports Implementations of Python which do not observe PEP 401 may experience trouble with this test.

File last commit:

r22963:2961b531
r22975:543193ee
Show More
embed_division.py
4 lines | 234 B | text/x-python | PythonLexer
"""This tests that future compiler flags are passed to the embedded IPython."""
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)