mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
Add assert_in method to nose for Python 2.6
This commit is contained in:
parent
9af0496692
commit
b47a0cfda9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user