umath_tests.py 455 B

123456789101112131415
  1. """
  2. Shim for _umath_tests to allow a deprecation period for the new name.
  3. """
  4. from __future__ import division, absolute_import, print_function
  5. import warnings
  6. # 2018-04-04, numpy 1.15.0
  7. warnings.warn(("numpy.core.umath_tests is an internal NumPy "
  8. "module and should not be imported. It will "
  9. "be removed in a future NumPy release."),
  10. category=DeprecationWarning, stacklevel=2)
  11. from ._umath_tests import *