module documentation
Class NonePIDFileTests Tests for NonePIDFile.
Class PIDFileTests Tests for PIDFile.
Function ifPlatformSupported Decorator for tests that are not expected to work on all platforms.
def ifPlatformSupported(f): (source)

Decorator for tests that are not expected to work on all platforms.

Calling PIDFile.isRunning currently raises NotImplementedError on non-POSIX platforms.

On an unsupported platform, we expect to see any test that calls PIDFile.isRunning to raise either NotImplementedError, SkipTest, or self.failureException. (self.failureException may occur in a test that checks for a specific exception but it gets NotImplementedError instead.)

Parameters
f:Callable[..., Any]The test method to decorate.
Returns
Callable[..., Any]The wrapped callable.