##// END OF EJS Templates
Refactor doctest-skipping implementation...
Refactor doctest-skipping implementation The old one rewrites docstring which creates a doctest where is no examples presented in the docstring.

File last commit:

r22978:37da7145
r27121:55086297
Show More
embed_flufl.py
5 lines | 269 B | text/x-python | PythonLexer
"""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)