##// END OF EJS Templates
Backport PR #4171: add nbconvert config file when creating profiles...
Backport PR #4171: add nbconvert config file when creating profiles and exclude log-level from ProfileCreate output should be backported to 1.1

File last commit:

r9190:20a102a5
r12462:e42b653f
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)