☰
Debian Codegraph
@
0.5.3-2
0.5.3-1
/
/
tests
/
__init__.py
☽
☼
tests/__init__.py
code
plain
raw
MIT
2024 Jan-Philipp Benecke
debian/copyright
1
"""Helpers for the tests."""
2
3
from pathlib import Path
4
5
6
def load_fixture(filename: str) -> str:
7
"""Load a fixture."""
8
path = Path(__file__).parent / "fixtures" / filename
9
return path.read_text()