Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Roy Stegeman <[email protected]>
  • Loading branch information
scarlehoff and RoyStegeman committed Mar 9, 2024
1 parent 7ee0d40 commit 1fe20fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions validphys2/src/validphys/tests/test_datafiles.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
"""
Test all datafiles
All tests are under ``test_all_datasets`` ran with all datasets so that one gets one failure per dataset in case of problems
The checks in ``test_all_datasets`` are run for each dataset independently so that one gets one
failure per dataset in case of problems
"""

import pytest
Expand All @@ -15,7 +16,7 @@


def _load_main_and_variants(dataset_name):
"""Given a dataset name, returns a list with the default load and all variants"""
"""Given a dataset name, returns a list with the default data and all variants"""
cds = [l.check_commondata(dataset_name)]
for variant_name in cds[0].metadata.variants:
cds.append(l.check_commondata(dataset_name, variant=variant_name))
Expand Down

0 comments on commit 1fe20fa

Please sign in to comment.