1 | from pathlib import Path, PurePath |
||
0 ignored issues
–
show
introduced
by
![]() |
|||
2 | from typing import Union |
||
3 | |||
4 | |||
5 | def get_test_resource(*nodes: Union[PurePath, str]) -> Path: |
||
6 | """Gets a path of a test resource file under resources/.""" |
||
7 | return Path(Path(__file__).parent, "resources", *nodes) |
||
8 |