Skip to content

Commit f1bac18

Browse files
committed
MAINT: PR 839 revisions
* the testsuite now always uses `DarshanReport` with a context manager to avoid shenanigans with `__del__` and garbage collection/`pytest`/multiple threads * this appears to fix the problem with testsuite hangs described in gh-839 and gh-851
1 parent aa46cad commit f1bac18

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

darshan-util/pydarshan/darshan/tests/test_summary.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,11 @@ def test_main_all_logs_repo_files(tmpdir, log_filepath):
236236
else:
237237
assert actual_runtime_heatmap_titles == 0
238238

239-
# check for presence of bandwidth summary strings
240-
# (more detailed per-module probes are present
241-
# in test_derived_metrics_bytes_and_bandwidth())
242-
assert "I/O performance estimate" in report_str
243-
assert "color: blue" in report_str
239+
# check for presence of bandwidth summary strings
240+
# (more detailed per-module probes are present
241+
# in test_derived_metrics_bytes_and_bandwidth())
242+
assert "I/O performance estimate" in report_str
243+
assert "color: blue" in report_str
244244

245245

246246
class TestReportData:

0 commit comments

Comments
 (0)