Skip to content

Commit

Permalink
FIX: No parentheses after assert
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed May 24, 2024
1 parent 7796c63 commit b6da5e9
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 b6da5e9

Please sign in to comment.