m2m模型翻译
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
686 B

from sympy.testing.pytest import warns_deprecated_sympy, XFAIL
# See https://github.com/sympy/sympy/pull/18095
def test_deprecated_utilities():
with warns_deprecated_sympy():
import sympy.utilities.pytest # noqa:F401
with warns_deprecated_sympy():
import sympy.utilities.runtests # noqa:F401
with warns_deprecated_sympy():
import sympy.utilities.randtest # noqa:F401
with warns_deprecated_sympy():
import sympy.utilities.tmpfiles # noqa:F401
# This fails because benchmarking isn't importable...
@XFAIL
def test_deprecated_benchmarking():
with warns_deprecated_sympy():
import sympy.utilities.benchmarking # noqa:F401