-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor subprocess usage in test_cli.py
Subprocess.Popen has been refactored to be used with a context manager across various function calls to ensure each process is properly closed and to improve resource use efficiency. Fixed a syntax error in the 'with' statement for the `captured_exit_code` call under the `test_cli_gt_first_arg_is_repo` function.
- Loading branch information
1 parent
2f3bed1
commit f1e4f0c
Showing
1 changed file
with
21 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters