__init__.py 581 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, overrides
  8. from ._private import extbuild
  9. from ._private.utils import *
  10. from ._private.utils import _assert_valid_refcount, _gen_alignment_data
  11. __all__ = (
  12. _private.utils.__all__ + ['TestCase', 'overrides']
  13. )
  14. from numpy._pytesttester import PytestTester
  15. test = PytestTester(__name__)
  16. del PytestTester