Skip to content

Commit c300ec8

Browse files
committed
Removed override of tempdir in unittest
1 parent 034a1dc commit c300ec8

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tests/test_outputs_netcdf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ def test_deterministic():
2525
times = frt + leadtimes
2626

2727
with tempfile.TemporaryDirectory() as temp_dir:
28-
temp_dir = "./"
2928
pattern = os.path.join(temp_dir, "test_%Y%m%dT%HZ.nc")
3029
workdir = os.path.join(temp_dir, "test_gridded")
3130
attrs = {"creator": "met.no"}
@@ -126,7 +125,6 @@ def test_ensemble():
126125
times = frt + leadtimes
127126

128127
with tempfile.TemporaryDirectory() as temp_dir:
129-
temp_dir = "./"
130128
pattern = os.path.join(temp_dir, "test_%Y%m%dT%HZ.nc")
131129
workdir = os.path.join(temp_dir, "test_gridded")
132130
attrs = {"creator": "met.no"}

0 commit comments

Comments
 (0)