Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Python/Sympy/sympy/core/tests/     Datei vom 6.10.2026 mit Größe 395 B image not shown  

Quelle  test_compatibility.py   Sprache: Python

 

from __future__ import annotations

import pytest

from sympy.testing.pytest import warns_deprecated_sympy


@pytest.mark.thread_unsafe(
    reason="expects a warning side effect from a one-time module import"
)
def test_compatibility_submodule():
    # Test the sympy.core.compatibility deprecation warning
    with warns_deprecated_sympy():
        import sympy.core.compatibility # noqa:F401

Messung
CHZG
839810093

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland