"""Helpers for pytest tests.""" # SPDX-FileCopyrightText: 2019 Christopher Kerr import os import pytest @pytest.fixture(scope='session') def testdata_dir(): """Path to the testdata directory.""" return os.path.join(os.path.dirname(__file__), 'testdata')