aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hazwaz/unittest.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/hazwaz/unittest.py b/hazwaz/unittest.py
index 2b28cdc..96689d5 100644
--- a/hazwaz/unittest.py
+++ b/hazwaz/unittest.py
@@ -1,11 +1,14 @@
import contextlib
import io
import sys
+import typing
import unittest
class HazwazTestCase(unittest.TestCase):
- def run_with_argv(self, cmd, argv: list[str]) -> dict[str, io.StringIO]:
+ def run_with_argv(
+ self, cmd, argv: typing.List[str]
+ ) -> typing.Dict[str, io.StringIO]:
"""
Run a command with a list of command line options.