Skip to content

Commit 2b33075

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent e3f2bee commit 2b33075

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stdlib/@tests/test_cases/check_functools.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# Tests for @wraps
1212
#
1313

14+
1415
def my_decorator(func: Callable[P, T_co]) -> Callable[P, T_co]:
1516
@wraps(func)
1617
def wrapper(*args: P.args, **kwargs: P.kwargs) -> T_co:
@@ -56,10 +57,12 @@ def func_wrapper(x: int) -> None: ...
5657
# Wrapper().method(3)
5758
func_wrapper(3)
5859

60+
5961
#
6062
# Tests for @cache
6163
#
6264

65+
6366
@cache
6467
def check_cached(x: int) -> int:
6568
return x * 2
@@ -77,6 +80,7 @@ def check_cached(x: int) -> int:
7780
# Tests for @cached_property
7881
#
7982

83+
8084
class A:
8185
def __init__(self, x: int):
8286
self.x = x

0 commit comments

Comments
 (0)