__init__.py 566 B

1234567891011121314151617181920
  1. """Common test support for all numpy test scripts.
  2. This single module should provide all the common functionality for numpy tests
  3. in a single location, so that test scripts can just import it and work right
  4. away.
  5. """
  6. from unittest import TestCase
  7. from ._private.utils import *
  8. from ._private import decorators as dec
  9. from ._private.nosetester import (
  10. run_module_suite, NoseTester as Tester
  11. )
  12. __all__ = _private.utils.__all__ + ['TestCase', 'run_module_suite']
  13. from numpy._pytesttester import PytestTester
  14. test = PytestTester(__name__)
  15. del PytestTester