Remove/replace some unneeded usages of py.path
This commit is contained in:
7
testing/example_scripts/tmpdir/tmp_path_fixture.py
Normal file
7
testing/example_scripts/tmpdir/tmp_path_fixture.py
Normal file
@@ -0,0 +1,7 @@
|
||||
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()) == []
|
||||
Reference in New Issue
Block a user