diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-02-27 14:46:21 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-02-27 14:46:21 +0100 |
| commit | c92f2be21c6be2d44cd836dd7f362e545b9a1a90 (patch) | |
| tree | 53098ff3cf1367ea70d99ef09d1baa00d90ac505 /minishell_test/sandbox.py | |
| parent | 7081b93b8ed4f98c628400e05d22d0523f41a842 (diff) | |
| download | minishell_test-c92f2be21c6be2d44cd836dd7f362e545b9a1a90.tar.gz minishell_test-c92f2be21c6be2d44cd836dd7f362e545b9a1a90.tar.bz2 minishell_test-c92f2be21c6be2d44cd836dd7f362e545b9a1a90.zip | |
Added make_args and check_error_messages configuration options
Diffstat (limited to 'minishell_test/sandbox.py')
| -rw-r--r-- | minishell_test/sandbox.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/minishell_test/sandbox.py b/minishell_test/sandbox.py index e5a1850..980cfe7 100644 --- a/minishell_test/sandbox.py +++ b/minishell_test/sandbox.py @@ -6,7 +6,7 @@ # By: charles <me@cacharle.xyz> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/09/11 13:48:07 by charles #+# #+# # -# Updated: 2021/02/27 12:05:35 by cacharle ### ########.fr # +# Updated: 2021/02/27 12:32:17 by cacharle ### ########.fr # # # # ############################################################################ # @@ -42,5 +42,7 @@ def remove(): def context(): """Sandbox context manager""" create() - yield - remove() + try: + yield + finally: + remove() |
