Skip to content

Commit

Permalink
TST: Change expected behaviour with mixed init
Browse files Browse the repository at this point in the history
  • Loading branch information
scottclowe committed Jul 13, 2021
1 parent 29ef258 commit 8dea12f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions fissa/tests/test_core.py
Expand Up @@ -1022,10 +1022,9 @@ def test_load_wrong_alpha_mixed_prep_sep(self):
fname = os.path.join(self.output_dir, "dummy.npz")
os.makedirs(self.output_dir)
np.savez_compressed(fname, **merge_dicts(kwargs, fields))
# Load the file and check the data appears correctly
exp.load(fname)
self.assert_equal(exp.raw, fields["raw"])
self.assertIs(exp.result, None)
# Load the file and check the data is not loaded
with self.assertRaises(ValueError):
exp.load(fname)

@unittest.expectedFailure
def test_badprepcache_init1(self):
Expand Down

0 comments on commit 8dea12f

Please sign in to comment.