Skip to content

Commit

Permalink
Update discretisedfield/tests/test_field.py
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
lang-m and github-actions[bot] authored Oct 6, 2023
1 parent a0c3a86 commit d07c24e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discretisedfield/tests/test_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -3086,7 +3086,7 @@ def test_mpl_dimension_lightness(valid_mesh, nvdim):


@pytest.mark.filterwarnings("error")
def test_mpl_lightness_valid(test_field, tmp_path):
def test_mpl_lightness_handles_invalid_parts(test_field, tmp_path):
"""
We did set rgb values in invalid parts to np.nan. The array is internally converted
to dtype np.uint8. The nan values result in a warning.
Expand Down

0 comments on commit d07c24e

Please sign in to comment.