bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / _pytesttester / PytestTester
class
numpy._pytesttester:PytestTester
source: build-install/usr/lib/python3.14/site-packages/numpy/_pytesttester.py :45
Signature
class PytestTester ( module_name ) Members
Summary
Pytest test runner.
Extended Summary
A test function is typically added to a package's __init__.py like so
from numpy._pytesttester import PytestTester test = PytestTester(__name__).test del PytestTester
Calling this test function finds and runs all tests associated with the module and all its sub-modules.
Parameters
module_name: module nameThe name of the module to test.
Attributes
module_name: strFull path to the package to test.
Notes
Unlike the previous nose-based implementation, this class is not publicly exposed as it performs some numpy-specific warning suppression.
Aliases
-
numpy._pytesttester.PytestTester