Skip to content

Commit

Permalink
Added some pragmas to tell coverage not to test plotting function (see
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Baumann committed Jan 20, 2023
1 parent 76b5045 commit 5dfabbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pySDC/projects/Resilience/Lorenz.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def run_Lorenz(
return stats, controller, Tend


def plot_solution(stats):
def plot_solution(stats): # pragma: no cover
"""
Plot the solution in 3D.
Expand Down Expand Up @@ -189,7 +189,7 @@ def main(plotting=True):
hook_class=[log_data, LogGlobalErrorPostRun],
)
check_solution(stats, controller, 5e-4)
if plotting:
if plotting: # pragma: no cover
plot_solution(stats)


Expand Down

0 comments on commit 5dfabbf

Please sign in to comment.