File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ def gunittest_datadir(
48
48
monkeypatch : pytest .MonkeyPatch , request : pytest .FixtureRequest , tmp_path : Path
49
49
) -> None :
50
50
"""Fixture to change directory to a temporary directory containing a copy of the data directory"""
51
+ print ("request.path: " , request .path )
51
52
parent_path = request .path .parent
52
53
if parent_path .name == "testsuite" :
53
54
original_data_path = os .path .join (parent_path , "data" )
@@ -56,9 +57,12 @@ def gunittest_datadir(
56
57
and os .path .basename (os .path .dirname (original_data_path )) == "testsuite"
57
58
):
58
59
temp_path = tmp_path / "data"
60
+ print ("in a testsuite/data folder, copying to" , temp_path )
59
61
shutil .copytree (
60
62
src = _win32_longpath (original_data_path ),
61
63
dst = _win32_longpath (str (temp_path )),
62
64
)
63
65
64
66
monkeypatch .chdir (tmp_path )
67
+ else :
68
+ print ("not in a testsuite dir"
You can’t perform that action at this time.
0 commit comments