From 0d379027977faf2d14731464ba2d13cc4f3e3a54 Mon Sep 17 00:00:00 2001 From: Kevin Wurster Date: Fri, 17 Nov 2023 00:05:00 -0500 Subject: [PATCH] Remove lingering type hints --- tests/conftest.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index e448e8e..bda9cf2 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -62,7 +62,6 @@ def test_func(runner): from io import StringIO import textwrap from types import MethodType -from typing import Callable, Union from unittest import mock import pytest @@ -150,10 +149,10 @@ def __init__(self, *, exit_code: int, output: str, err: str): @classmethod def invoke( cls, - func: Callable, - rawargs: list, + func, + rawargs, *, - input: Union[str, None] = None + input=None ): """Execute a command and return the result.