IPython Documentation

Table Of Contents

Previous topic

Module: testing.nose_assert_methods

Next topic

Module: testing.plugin.dtexample

This Page


This documentation is for an old version of IPython. You can find docs for newer versions here.

Module: testing.nosepatch

Monkeypatch nose to accept any callable as a method.

By default, nose’s ismethod() fails for static methods. Once this is fixed in upstream nose we can disable it.


  • As of Nose 1.0.0, the problem persists so this monkeypatch is still


  • Merely importing this module causes the monkeypatch to be applied.

1 Function

IPython.testing.nosepatch.getTestCaseNames(self, testCaseClass)

Override to select with selector, unless config.getTestCaseNamesCompat is True