Skip to content

Commit

Permalink
Fix formatting tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
plypaul committed Jul 19, 2024
1 parent 4ed9e4a commit 5237a3d
Showing 1 changed file with 9 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,10 @@ def test_pformat_many() -> None: # noqa: D103
textwrap.dedent(
"""\
Example description:
object_0:
(1, 2, 3)
object_1:
{4: 5}
object_0:
(1, 2, 3)
object_1:
{4: 5}
"""
).rstrip()
== result
Expand All @@ -160,10 +158,9 @@ def test_pformat_many_with_raw_strings() -> None: # noqa: D103
textwrap.dedent(
"""\
Example description:
object_0:
foo
bar
object_0:
foo
bar
"""
).rstrip()
== result
Expand All @@ -176,9 +173,8 @@ def test_pformat_many_with_strings() -> None: # noqa: D103
textwrap.dedent(
"""\
Example description:
object_0:
'foo\\nbar'
object_0:
'foo\\nbar'
"""
).rstrip()
== result
Expand Down

0 comments on commit 5237a3d

Please sign in to comment.