Skip to content

Commit 5e4155e

Browse files
committed
Fix type hints
1 parent 0e34b57 commit 5e4155e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_utils.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -516,15 +516,15 @@ def deprecated_func(*args, **kwargs):
516516

517517
assert len(record) == 2
518518
assert record[0].message.args == ( # type: ignore
519-
'deprecated_func', '1', '3', "use 'bar' instead."
520-
)
519+
'deprecated_func', '1', '3', "use 'bar' instead."
520+
)
521521
assert record[1].message.args == ( # type: ignore
522-
'deprecated_alias', '1', '3', "use 'bar' instead."
523-
)
522+
'deprecated_alias', '1', '3', "use 'bar' instead."
523+
)
524524

525525
assert ".. deprecated::" in deprecated_func.__doc__
526526
assert ".. deprecated::" in deprecated_alias.__doc__
527-
assert ".. deprecated::" not in func.__doc__
527+
assert ".. deprecated::" not in func.__doc__ # type: ignore
528528

529529

530530
def test_diff(file_regression: FileRegressionFixture):

0 commit comments

Comments
 (0)