Skip to content

Commit

Permalink
SQ -> Tests: Refactor eliminate explicit create of tempfile.Temporary…
Browse files Browse the repository at this point in the history
…Directory where OpenOrCreateDialog.create() can be used
  • Loading branch information
davidfstr committed Jan 10, 2024
1 parent f39016b commit fae3d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crystal/tests/util/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async def create(self,
if project_dirpath is None:
with tempfile.TemporaryDirectory(suffix='.crystalproj') as project_dirpath:
assert project_dirpath is not None
async with self.create(project_dirpath) as (mw, project_dirpath):
async with self.create(project_dirpath, autoclose=autoclose) as (mw, project_dirpath):
yield (mw, project_dirpath)
return

Expand Down

0 comments on commit fae3d05

Please sign in to comment.