Skip to content

Commit 92677de

Browse files
committed
fix tmp
1 parent 99320d8 commit 92677de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/engine/test_stats.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def test_stats_grib(tmp_path):
111111
df = create_stats_dataframe(
112112
input_dir=str(tmp_path),
113113
file_id=[["Test data", GRIB_FILENAME]],
114-
stats_file_name=STATS_FILE_NAMES,
114+
stats_file_name=tmp_path / STATS_FILE_NAMES,
115115
file_specification=file_specification,
116116
)
117117

@@ -175,7 +175,7 @@ def test_stats_netcdf(setup_netcdf_file, tmp_path): # pylint: disable=unused-ar
175175
df = create_stats_dataframe(
176176
input_dir=str(tmp_path),
177177
file_id=[["Test data", NC_FILE_GLOB]],
178-
stats_file_name=STATS_FILE_NAMES,
178+
stats_file_name=tmp_path / STATS_FILE_NAMES,
179179
file_specification=file_specification,
180180
)
181181

@@ -236,7 +236,7 @@ def test_stats_csv(setup_csv_file, tmp_path): # pylint: disable=unused-argument
236236
df = create_stats_dataframe(
237237
input_dir=str(tmp_path),
238238
file_id=[["Test data", "test_stats_csv.dat"]],
239-
stats_file_name="test_stats_csv.csv",
239+
stats_file_name=tmp_path / "test_stats_csv.csv",
240240
file_specification=file_specification,
241241
)
242242

0 commit comments

Comments
 (0)