Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaarrfk committed Aug 25, 2024
1 parent b644cc1 commit ecd2e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ def update_diffs(module, is_similar, img, stored_img, *, atol):
if path.exists():
path.unlink()
return


# cast to float32 to avoid overflow
# compute absolute per-pixel difference
Expand All @@ -166,6 +165,7 @@ def update_diffs(module, is_similar, img, stored_img, *, atol):
)
imageio.imwrite(diffs_dir / f"{module}.png", img)


@pytest.mark.parametrize("module", examples_to_run)
def test_examples_run(module, force_offscreen):
"""Run every example marked to see if they can run without error."""
Expand Down

0 comments on commit ecd2e81

Please sign in to comment.