##// END OF EJS Templates
Backport PR #2214: use KernelApp.exec_lines/files in IPEngineApp...
Backport PR #2214: use KernelApp.exec_lines/files in IPEngineApp This change means that all your startup/exec_lines config is inherited by engines. should be backported for 0.13.1, because engine startup code is impossible to configure in 0.13. The real long-term fix for this is to make IPEngineApp a subclass of IPKernelApp, but this should be an adequate band-aid until then. closes #2213

File last commit:

r7253:4b8de020
r8079:b1241d50
Show More
nose_assert_methods.py
17 lines | 516 B | text/x-python | PythonLexer
"""Add some assert methods to nose.tools. These were added in Python 2.7/3.1, so
once we stop testing on Python 2.6, this file can be removed.
"""
import nose.tools as nt
def assert_in(item, collection):
assert item in collection, '%r not in %r' % (item, collection)
if not hasattr(nt, 'assert_in'):
nt.assert_in = assert_in
def assert_not_in(item, collection):
assert item not in collection, '%r in %r' % (item, collection)
if not hasattr(nt, 'assert_not_in'):
nt.assert_not_in = assert_not_in