Add assert_in method to nose for Python 2.6

This commit is contained in:
Thomas Kluyver 2012-05-31 21:23:29 +01:00
parent 9af0496692
commit b47a0cfda9

View File

@ -40,6 +40,11 @@ import warnings
# it for actual use. This should get into nose upstream, but its release cycle
# is slow and we need it for our parametric tests to work correctly.
from IPython.testing import nosepatch
# Monkeypatch extra assert methods into nose.tools if they're not already there.
# This can be dropped once we no longer test on Python 2.6
from IPython.testing import nose_assert_methods
# Now, proceed to import nose itself
import nose.plugins.builtin
from nose.plugins.xunit import Xunit