aboutsummaryrefslogtreecommitdiff
path: root/src/suite/decorator.py
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-01-31 04:43:43 +0100
committerCharles Cabergs <me@cacharle.xyz>2021-01-31 04:45:21 +0100
commitc97912223d3730e08a06cffec886c0ff4f3da95c (patch)
treea942eb61d0ece0b75792150ec901161b603555cf /src/suite/decorator.py
parent361e1fe39e88788ef4173083482d520753225a3e (diff)
downloadminishell_test-c97912223d3730e08a06cffec886c0ff4f3da95c.tar.gz
minishell_test-c97912223d3730e08a06cffec886c0ff4f3da95c.tar.bz2
minishell_test-c97912223d3730e08a06cffec886c0ff4f3da95c.zip
Fixing typing error
Diffstat (limited to 'src/suite/decorator.py')
-rw-r--r--src/suite/decorator.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/suite/decorator.py b/src/suite/decorator.py
index e9f9efa..87787de 100644
--- a/src/suite/decorator.py
+++ b/src/suite/decorator.py
@@ -6,16 +6,18 @@
# By: charles <me@cacharle.xyz> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/09/11 12:28:00 by charles #+# #+# #
-# Updated: 2021/01/31 02:13:40 by charles ### ########.fr #
+# Updated: 2021/01/31 04:45:08 by charles ### ########.fr #
# #
# ############################################################################ #
+import inspect
+from typing import List
+
from suite import Suite
from test import Test
-import inspect
-def suite(groups: list[str] = [], bonus: bool = False):
+def suite(groups: List[str] = [], bonus: bool = False):
"""Decorator generator for suites arguments"""
def suite_wrapper(origin):