##// END OF EJS Templates
pretty-rendering for os.environ by default...
pretty-rendering for os.environ by default it's dict-like, but not a dict so doesn't get caught by the default dict printer

File last commit:

r22978:37da7145
r24372:a0376c41
Show More
embed_flufl.py
5 lines | 269 B | text/x-python | PythonLexer
Paul Ivanov
rewrite __future__ embed tests to use PEP 401
r22978 """This tests that future compiler flags are passed to the embedded IPython."""
from __future__ import barry_as_FLUFL
from IPython import embed
embed(banner1='', header='check 1 <> 2 == True')
embed(banner1='', header='check 1 <> 2 cause SyntaxError', compile_flags=0)