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

Quelle  test_runtests.py   Sprache: Python

 

from __future__ import annotations

import os

from sympy.testing.runtests import convert_to_native_paths


def test_convert_to_native_paths():
    expected = os.path.normcase(os.path.join("sympy", "solvers"))
    paths = [
        "sympy/solvers",
        r"sympy\solvers",
        "./sympy/solvers",
        r".\sympy\solvers",
    ]
    assert set(convert_to_native_paths(paths)) == {expected}

Messung
CHZG
949510096

¤ Dauer der Verarbeitung: 0.15 Sekunden  ¤

*© Formatika GbR, Deutschland