Skip to content

Commit c15a1d5

Browse files
committed
Cleanup names and minor bugs
1 parent 1fc859c commit c15a1d5

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

examples/acoustics_1d_heterogeneous/test_acoustics_1d_heterogeneous.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
def test_acoustics_1d_heterogeneous(tmp_path: Path, save: bool):
1010

11-
ctr = test.ClawpackClassicTestRunner(tmp_path)
11+
ctr = test.ClassicTestRunner(tmp_path)
1212

1313
ctr.set_data()
1414
ctr.rundata.clawdata.num_output_times = 2

examples/acoustics_3d_heterogeneous/test_acoustics_3d_heterogeneous.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
def test_acoustics_3d_heterogeneous(tmp_path: Path, save: bool):
1010
r"""Basic test for a 3D heterogeneous acoustics test."""
1111

12-
ctr = test.ClawpackClassicTestRunner(tmp_path)
12+
ctr = test.ClassicTestRunner(tmp_path)
1313

1414
ctr.set_data()
1515
ctr.rundata.clawdata.num_cells = [20, 20, 20]

examples/advection_2d_annulus/test_advection_2d_annulus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
def test_advection_2d_annulus(tmp_path: Path, save: bool):
1010

11-
ctr = test.ClawpackClassicTestRunner(tmp_path)
11+
ctr = test.ClassicTestRunner(tmp_path)
1212

1313
ctr.set_data()
1414
ctr.rundata.clawdata.num_output_times = 2

src/python/classic/test.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
r"""
2-
Execute nosetests in all subdirectories, to run a series of quick
3-
regression tests.
2+
Defines the Classic Clawpack Test Runner class for running PyTest based
3+
regression tests in classic clawpack.
44
5-
Sends output and result/errors to separate files to simplify checking
6-
results and looking for errors.
5+
Refer to the documentation for PyTest to manage output and reporting.
76
"""
87

98
from pathlib import Path
@@ -24,7 +23,7 @@
2423
for lib_path in (CLAW / "classic" / "src" / "3d").glob("*.o"):
2524
lib_path.unlink()
2625

27-
class ClawpackClassicTestRunner(test.ClawpackTestRunner):
26+
class ClassicTestRunner(test.ClawpackTestRunner):
2827

2928
def __init__(self, path: Path):
30-
super(ClawpackClassicTestRunner, self).__init__(path)
29+
super(ClassicTestRunner, self).__init__(path)

0 commit comments

Comments
 (0)