Skip to content

Commit

Permalink
update test with new syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
BStoelzner authored and eacharles committed Oct 24, 2023
1 parent 32b4132 commit 0601538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/qp/test_ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def test_mixmod_with_negative_weights(self):
sigmas = np.array([0.15,0.13,0.14])
weights = np.array([1,0.5,-0.25])
with self.assertRaises(ValueError):
_ = qp.mixmod(gen_func=qp.stats.norm, weights=weights, data = dict(loc=means, scale=sigmas))
_ = qp.mixmod(weights=weights, means=means, stds=sigmas)

if __name__ == '__main__':
unittest.main()

0 comments on commit 0601538

Please sign in to comment.