Skip to content

Commit

Permalink
Update test_results.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioAPeraza committed Apr 24, 2024
1 parent bc28e69 commit 71463d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pymare/tests/test_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ def test_combination_test_results_from_arrays(dataset):

# fit overwrites dataset_ attribute with None
assert fitted_estimator.dataset_ is None

# fit_dataset overwrites it with the Dataset
dataset.n = dataset.v # StoufferCombinationTest now maps n to w
dataset.v = None
fitted_estimator.fit_dataset(dataset)
assert isinstance(fitted_estimator.dataset_, Dataset)
# fit sets it back to None
Expand Down

0 comments on commit 71463d7

Please sign in to comment.