%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/sympy/utilities/tests/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/sympy/utilities/tests/test_deprecated.py

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
    with warns_deprecated_sympy():
        import sympy.utilities.quality_unicode  # noqa:F401

# This fails because benchmarking isn't importable...
@XFAIL
def test_deprecated_benchmarking():
    with warns_deprecated_sympy():
        import sympy.utilities.benchmarking  # noqa:F401

Zerion Mini Shell 1.0