Skip to content

Commit 10efb23

Browse files
committed
Refactor
1 parent 6cbb58b commit 10efb23

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pySDC/projects/GPU/analysis_scripts/RBC3D_plotting_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
setup_mpl()
55

66

7-
def get_plotting_style(config):
7+
def get_plotting_style(config): # pragma: no cover
88

99
args = {'color': None, 'ls': None, 'marker': None, 'markersize': 6, 'label': None}
1010

@@ -39,7 +39,7 @@ def get_plotting_style(config):
3939
return args
4040

4141

42-
def savefig(fig, name, format='pdf', base_path='./plots', **kwargs):
42+
def savefig(fig, name, format='pdf', base_path='./plots', **kwargs): # pragma: no cover
4343
path = f'{base_path}/{name}.{format}'
4444
fig.savefig(path, bbox_inches='tight', **kwargs)
4545
print(f'Saved figure {path!r}')

pySDC/projects/GPU/tests/test_RBC_3D_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def _get_Nu(_t):
114114
assert np.allclose(tI, ref_data['t'])
115115

116116

117-
def test_order_computation(tmp_sim_data, tmp_path):
117+
def test_error_computation(tmp_sim_data, tmp_path):
118118
from pySDC.projects.GPU.analysis_scripts.RBC3D_order import compute_errors, get_path
119119
from pySDC.projects.GPU.configs.RBC3D_configs import RBC3DG4R4SDC34Ra1e5
120120
import numpy as np

0 commit comments

Comments
 (0)