class_docstr: Pytest test runner.
  
  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.
  
  Attributes
  ----------
  module_name : str
      Full path to the package to test.
  
  Parameters
  ----------
  module_name : module name
      The name of the module to test.
  
  Notes
  -----
  Unlike the previous ``nose``-based implementation, this class is not
  publicly exposed as it performs some ``numpy``-specific warning
  suppression.
class_docstr_tok: ["Pytest","test","runner",".","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",".","Attributes","--","--","--","--","--","module_name",":","str","Full","path","to","the","package","to","test",".","Parameters","--","--","--","--","--","module_name",":","module","name","The","name","of","the","module","to","test",".","Notes","--","--","-","Unlike","the","previous","``","nose","``","-based","implementation",",","this","class","is","not","publicly","exposed","as","it","performs","some","``","numpy","``","-specific","warning","suppression","."]
code: def __init__(self, module_name):
      self.module_name = module_name
  
imports: import sys
  import os
label_desc: Use image node_id 1 to create a new PytestTester object  with example: obj = PytestTester(module_name)