File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ def querybuilder():
294294 tmp_dir = Path (tmp_dir )
295295 if not tmp_dir .exists ():
296296 EXPORT_LOGGER .warning (f"Specified temporary directory '{ tmp_dir } ' doesn't exist. Creating it." )
297- tmp_dir .mkdir (parents = False )
297+ tmp_dir .mkdir (parents = True )
298298 if not tmp_dir .is_dir ():
299299 msg = f"Specified temporary directory '{ tmp_dir } ' is not a directory"
300300 raise ArchiveExportError (msg )
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ def test_tmp_dir_custom_valid(tmp_path):
182182
183183
184184@pytest .mark .usefixtures ('aiida_profile_clean' )
185- def test_tmp_dir_validation_errors (tmp_path ):
185+ def test_tmp_dir_file_error (tmp_path ):
186186 """Test tmp_dir validation errors."""
187187
188188 node = orm .Int (42 ).store ()
You can’t perform that action at this time.
0 commit comments