Skip to content

Commit

Permalink
Merge pull request #1065 from DimitriPapadopoulos/assert
Browse files Browse the repository at this point in the history
FIX: No parentheses after assert
  • Loading branch information
effigies authored May 24, 2024
2 parents 089b3d4 + b6da5e9 commit d442c8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bids/layout/tests/test_path_building.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,4 @@ def test_path_building_on_examples_with_derivatives_meg_ds_folder(dataset, scope
for bf in files:
entities = bf.get_entities()
path = layout.build_path(entities)
assert(path==bf.path)
assert path == bf.path
4 changes: 2 additions & 2 deletions bids/layout/tests/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -893,5 +893,5 @@ def test_layout_with_validation():
assert len(layout1.files) < len(layout2.files)
# Not a valid BIDS file
badfile = join(data_dir, 'test.bval')
assert(badfile not in layout1.files)
assert(badfile in layout2.files)
assert badfile not in layout1.files
assert badfile in layout2.files

0 comments on commit d442c8b

Please sign in to comment.