NIPY logo

Site Navigation

NIPY Community

Github repo

Table Of Contents

Next topic

testing.nosetester

This Page

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.

Note: merely importing this module causes the monkeypatch to be applied.

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

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