__init__.py 632 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 __future__ import division, absolute_import, print_function
  7. from unittest import TestCase
  8. from ._private.utils import *
  9. from ._private import decorators as dec
  10. from ._private.nosetester import (
  11. run_module_suite, NoseTester as Tester
  12. )
  13. __all__ = _private.utils.__all__ + ['TestCase', 'run_module_suite']
  14. from numpy._pytesttester import PytestTester
  15. test = PytestTester(__name__)
  16. del PytestTester