Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent 47f3096 commit faf1de1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/pytest_regressions/ndarrays_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,11 @@ def _check_fn(self, obtained_filename: Path, expected_filename: Path) -> None:
diff_id_str,
str(obtained),
str(expected),
str(obtained - expected)
if isinstance(obtained, np.number)
else "",
(
str(obtained - expected)
if isinstance(obtained, np.number)
else ""
),
)
error_msg += "\n"

Expand Down

0 comments on commit faf1de1

Please sign in to comment.