umath_tests.py 389 B

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