alteryx / alteryx/woodwork

Refactor temporary directory in unit tests

Offen
#1,369 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
155
Forks
24
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

The `tmpdir` in pytest creates a temporary directory for the unit test. However, unit tests with parametrized fixtures are likely to use the temporary directory more than once. The serialization tests in #1356 would fail because files would already exist as a result of not removing the temporary directory manually. It would be nice if we could refactor `tmpdir` so that removing the directory manually isn't necessary.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.