diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-01-31 03:36:45 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-01-31 03:36:45 +0100 |
| commit | aa962c545496fc645d3f78370d7190ae1f3db11e (patch) | |
| tree | cadd291fcf24ec6fe222e2ce204135ce3ea88828 /src/test/captured.py | |
| parent | 4a4f6b5b01bd6d23c141d51dd9399c36d12d29d9 (diff) | |
| download | minishell_test-aa962c545496fc645d3f78370d7190ae1f3db11e.tar.gz minishell_test-aa962c545496fc645d3f78370d7190ae1f3db11e.tar.bz2 minishell_test-aa962c545496fc645d3f78370d7190ae1f3db11e.zip | |
Fixing type annotation for python3.6 compatibility
Diffstat (limited to 'src/test/captured.py')
| -rw-r--r-- | src/test/captured.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/captured.py b/src/test/captured.py index 9488149..2c33b78 100644 --- a/src/test/captured.py +++ b/src/test/captured.py @@ -6,15 +6,17 @@ # By: charles <me@cacharle.xyz> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/09/11 12:16:25 by charles #+# #+# # -# Updated: 2021/01/31 02:01:30 by charles ### ########.fr # +# Updated: 2021/01/31 03:29:22 by charles ### ########.fr # # # # ############################################################################ # +from typing import List + import config class Captured: - def __init__(self, output: str, status: int, files_content: list[str], is_timeout: bool = False): + def __init__(self, output: str, status: int, files_content: List[str], is_timeout: bool = False): """Captured class output: captured content status: command status |
