Skip to content

Commit 497308f

Browse files
committed
fix error
1 parent 347eb82 commit 497308f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/vmtests/vmtests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def close_list(keep_environment: bool) -> Generator[List[Closeable], None, None]
218218
exceptions.append(ex)
219219

220220
if len(exceptions) > 0:
221-
return ExceptionGroup("failed to close resources", exceptions)
221+
raise ExceptionGroup("failed to close resources", exceptions)
222222

223223

224224
def create_temp_folder(

0 commit comments

Comments
 (0)