From aa962c545496fc645d3f78370d7190ae1f3db11e Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sun, 31 Jan 2021 03:36:45 +0100 Subject: Fixing type annotation for python3.6 compatibility --- src/test/captured.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/test/captured.py') 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 +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # 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 -- cgit