##// END OF EJS Templates
flush replies when entering an eventloop...
flush replies when entering an eventloop avoids possible hangs when the GUI eventloop prevents queued replies from being sent

File last commit:

r9190:20a102a5
r15232:158d7616
Show More
embed_division.py
5 lines | 266 B | text/x-python | PythonLexer
Bradley M. Froehle
Add test scripts for embed with compile flags.
r7896 """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)