### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »

# testing.nosepatch

## 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.

Notes:

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

needed.

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

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

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

### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »