Skip to content

Commit

Permalink
[boundary.show_marked] exclude function from coverage; remove tests d…
Browse files Browse the repository at this point in the history
…epending on matplotlib
  • Loading branch information
pdiercks committed Aug 14, 2023
1 parent 5937eae commit 8d4a974
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 41 deletions.
4 changes: 2 additions & 2 deletions src/fenicsxconcrete/boundary_conditions/boundary.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def show_marked(
domain: dolfinx.mesh.Mesh,
marker: Callable,
filename: str | None = None,
) -> None:
) -> None: # pragma: no cover
"""Shows dof coordinates marked by `marker`.
Notes:
Expand Down Expand Up @@ -207,7 +207,7 @@ def show_marked(
if filename is not None:
plt.savefig(filename)
else:
plt.show() # pragma: no cover
plt.show()


def to_floats(x: typing.Iterable[int] | typing.Iterable[float]) -> list[float]:
Expand Down
39 changes: 0 additions & 39 deletions tests/boundary_conditions/test_boundary_show_marked.py

This file was deleted.

0 comments on commit 8d4a974

Please sign in to comment.