Skip to content

Commit

Permalink
fix: further test fixes in test_collection.py
Browse files Browse the repository at this point in the history
  • Loading branch information
synchon committed Oct 18, 2023
1 parent 9ee521f commit d9fcf2c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions junifer/markers/tests/test_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_marker_collection() -> None:
]
mc = MarkerCollection(markers=markers) # type: ignore
assert mc._markers == markers
assert mc._preprocessing is None
assert mc._preprocessors is None
assert mc._storage is None
assert isinstance(mc._datareader, DefaultDataReader)

Expand Down Expand Up @@ -97,7 +97,7 @@ def fit_transform(self, input):

mc2 = MarkerCollection(
markers=markers, # type: ignore
preprocessing=BypassPreprocessing(),
preprocessors=[BypassPreprocessing()], # type: ignore
datareader=DefaultDataReader(),
)
assert isinstance(mc2._datareader, DefaultDataReader)
Expand Down Expand Up @@ -128,10 +128,10 @@ def test_marker_collection_with_preprocessing() -> None:
]
mc = MarkerCollection(
markers=markers, # type: ignore
preprocessing=fMRIPrepConfoundRemover(),
preprocessors=[fMRIPrepConfoundRemover()],
)
assert mc._markers == markers
assert mc._preprocessing is not None
assert mc._preprocessors is not None
assert mc._storage is None
assert isinstance(mc._datareader, DefaultDataReader)

Expand Down

0 comments on commit d9fcf2c

Please sign in to comment.