##// END OF EJS Templates
Merge pull request #3665 from ivanov/pywin32-skips...
Merge pull request #3665 from ivanov/pywin32-skips this skips about a dozen failing or erroring tests on windows when pywin32 is not importable

File last commit:

r9190:20a102a5
r11474:40e13d12 merge
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)