Skip to content

Commit 1c18e59

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b3d9f1f commit 1c18e59

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

testing/python/fixtures_return_annotation.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
from collections.abc import Callable
24
from typing import Any
35

@@ -59,7 +61,7 @@ def with_args(a: Callable[[], None], b: list) -> range:
5961
assert get_return_annotation(with_args) == "range"
6062

6163
def test_invalid_return_type(self):
62-
def bad_annotation() -> 6: # type: ignore
64+
def bad_annotation() -> 6: # type: ignore
6365
return 6
6466

6567
assert get_return_annotation(bad_annotation) == "6"

0 commit comments

Comments
 (0)