Skip to content
Myr

common.py

This file

Path

tests/common.py

4 lines · 96 bytes · Python

Last changed by

Use relative tests directory references (#1052)Florimond Mancabefore adoption09672a9

History of this file

Take it

Use relative tests directory references (#1052)Florimond Mancabefore adoption09672a9

lines 1–4why, one step back
1import pathlib
23TESTS_DIR = pathlib.Path(__file__).parent4FIXTURES_DIR = TESTS_DIR / "fixtures"