##// END OF EJS Templates
ensure a fallback exists, so use local std{in,out,err}...
ensure a fallback exists, so use local std{in,out,err} Since IOStream instances require a valid fallback stream, use the locally defined std{in,out,err} instead of sys.std{in,out,err} in IOTerm's __init__ method. Note that the local std{in,out,err} are IOStream instances as well, that fall back to os.devnull

File last commit:

r3692:7403bafc
r6652:183d9879
Show More
__init__.py
9 lines | 259 B | text/x-python | PythonLexer
Thomas Spura
Unbundle of all external modules....
r3408 try:
from numpy.testing.decorators import *
Paul Ivanov
make know failures report as 'K'...
r3511 from numpy.testing.noseclasses import KnownFailure
Thomas Spura
Unbundle of all external modules....
r3408 except ImportError:
Thomas Spura
import from module and not from module.py...
r3412 from _decorators import *
MinRK
don't unconditionally import nose...
r3692 try:
from _numpy_testing_noseclasses import KnownFailure
except ImportError:
pass