Skip to content

Commit

Permalink
fix pyright errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pvandyken committed Feb 13, 2024
1 parent 6447384 commit d0a0471
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion snakebids/tests/test_paths/test_bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def test_missing_essential_entities_gives_error(self, args: dict[str, str]):

TestV0_0_0 = make_bids_testsuite(specs.v0_0_0())

TestV0_10_1 = make_bids_testsuite(specs.v0_10_1())
TestV0_10_1 = make_bids_testsuite(specs.v0_11_0())


def test_benchmark_bids(benchmark: Benchmark):
Expand Down
4 changes: 2 additions & 2 deletions snakebids/tests/test_paths/test_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ def test_session_dir_can_be_excluded():
def test_spec_can_be_set_with_str():
set_bids_spec("v0_0_0")
assert bids(acquisition="foo") == "acquisition-foo"
set_bids_spec("v0_10_1")
set_bids_spec("v0_11_0")
assert bids(acquisition="foo") == "acq-foo"


def test_spec_can_be_set_with_obj():
set_bids_spec(specs.v0_0_0())
assert bids(acquisition="foo") == "acquisition-foo"
set_bids_spec(specs.v0_10_1())
set_bids_spec(specs.v0_11_0())
assert bids(acquisition="foo") == "acq-foo"


Expand Down

0 comments on commit d0a0471

Please sign in to comment.