test_ok2/testing/example_scripts/tmpdir/tmp_path_fixture.py

9 lines
190 B
Python

# mypy: allow-untyped-defs
import pytest
@pytest.mark.parametrize("a", [r"qwe/\abc"])
def test_fixture(tmp_path, a):
assert tmp_path.is_dir()
assert list(tmp_path.iterdir()) == []