randtest.py 562 B

12345678910111213141516171819
  1. """
  2. .. deprecated:: 1.10
  3. ``sympy.testing.randtest`` functions have been moved to
  4. :mod:`sympy.core.random`.
  5. """
  6. from sympy.utilities.exceptions import sympy_deprecation_warning
  7. sympy_deprecation_warning("The sympy.testing.randtest submodule is deprecated. Use sympy.core.random instead.",
  8. deprecated_since_version="1.10",
  9. active_deprecations_target="deprecated-sympy-testing-randtest")
  10. from sympy.core.random import ( # noqa:F401
  11. random_complex_number,
  12. verify_numerically,
  13. test_derivative_numerically,
  14. _randrange,
  15. _randint)