##// END OF EJS Templates
Fix tox.ini...
Fix tox.ini Prior to this patch, test for Python 3.2 failed. Also, arguments can be passed to iptest via tox command now. e.g.: `tox -- IPython.core`

File last commit:

r7896:24ac74e6
r8877:e459eacf
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)