__init__.py 673 B

12345678910111213141516171819202122
  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 . import _private
  8. from ._private.utils import *
  9. from ._private.utils import (_assert_valid_refcount, _gen_alignment_data)
  10. from ._private import extbuild, decorators as dec
  11. from ._private.nosetester import (
  12. run_module_suite, NoseTester as Tester
  13. )
  14. __all__ = _private.utils.__all__ + ['TestCase', 'run_module_suite']
  15. from numpy._pytesttester import PytestTester
  16. test = PytestTester(__name__)
  17. del PytestTester