We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e0a8f0 commit 4175c9fCopy full SHA for 4175c9f
src/unittest_extensions/decorator.py
@@ -1,15 +1,9 @@
1
-from typing import Callable, TypeVar, TypeAlias
2
-
3
-TestClass = TypeVar("TestClass")
4
-TestMethod: TypeAlias = Callable[[TestClass], None]
5
6
7
-def args(kwargs) -> TestMethod:
+def args(kwargs):
8
"""
9
Decorate test methods to define arguments for your subject.
10
11
12
- def wrapper(method) -> TestMethod:
+ def wrapper(method):
13
method._subjectKwargs = kwargs
14
return method
15
0 commit comments