Skip to content

Commit

Permalink
fix context manager
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharsadhwani committed May 15, 2024
1 parent d3111d0 commit 36d7208
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/end_to_end/packaged_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,16 @@ def build_package(
output_path: str,
build_command: str,
startup_command: str,
python_version: str,
) -> Iterator[None]:
"""Builds the package, but also delete it afterwards."""
try:
packaged.create_package(
source_directory, output_path, build_command, startup_command
source_directory,
output_path,
build_command,
startup_command,
python_version,
)
yield
finally:
Expand Down

0 comments on commit 36d7208

Please sign in to comment.