Skip to content

Commit

Permalink
πŸ› Fix format in test result
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Nov 26, 2023
1 parent d037a0a commit 7b26b87
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_insert_assert.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,7 @@ def test_dict(insert_assert):
result = pytester_pretty.runpytest()
result.assert_outcomes(passed=1)
assert test_file.read_text() == (
"""
def test_dict(insert_assert):
"""def test_dict(insert_assert):
old_data = {
"foo": 1,
"bar": [
Expand Down Expand Up @@ -243,6 +242,5 @@ def test_dict(insert_assert):
{"name": "ARQ"},
],
"baz": 6,
}
"""
}"""
)

0 comments on commit 7b26b87

Please sign in to comment.