Skip to content

Commit 5dfabbf

Browse files
author
Thomas Baumann
committed
Added some pragmas to tell coverage not to test plotting function (see
issue #262)
1 parent 76b5045 commit 5dfabbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pySDC/projects/Resilience/Lorenz.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def run_Lorenz(
124124
return stats, controller, Tend
125125

126126

127-
def plot_solution(stats):
127+
def plot_solution(stats): # pragma: no cover
128128
"""
129129
Plot the solution in 3D.
130130
@@ -189,7 +189,7 @@ def main(plotting=True):
189189
hook_class=[log_data, LogGlobalErrorPostRun],
190190
)
191191
check_solution(stats, controller, 5e-4)
192-
if plotting:
192+
if plotting: # pragma: no cover
193193
plot_solution(stats)
194194

195195

0 commit comments

Comments
 (0)