Skip to content

Commit

Permalink
Fix minor
Browse files Browse the repository at this point in the history
  • Loading branch information
yhna940 committed Oct 12, 2024
1 parent 1c5b43e commit 174425c
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,13 +423,11 @@ def long_deprecated_demo(arg1: int, arg2: int) -> tuple:
summary. This is a long summary.
Args:
arg1 (int): Long description with a line break. Long description
with a line break.
arg2 (int): short description.
arg1 (int): Description.
arg2 (int): Description.
Returns:
Long description without a line break. Long description without
a line break.
Description.
"""
return arg1, arg2

Expand All @@ -446,13 +444,11 @@ def long_deprecated_demo(arg1: int, arg2: int) -> tuple:
summary. This is a long summary.
Args:
arg1 (int): Long description with a line break. Long description
with a line break.
arg2 (int): short description.
arg1 (int): Description.
arg2 (int): Description.
Returns:
Long description without a line break. Long description without
a line break.
Description.
""")

long_expected_docstring = "".join(long_expected_docstring.split())
Expand Down

0 comments on commit 174425c

Please sign in to comment.