Skip to content

Commit

Permalink
still had old black locally
Browse files Browse the repository at this point in the history
  • Loading branch information
OriolAbril committed Oct 29, 2019
1 parent 1e87467 commit f4c944a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arviz/tests/test_data_emcee.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def test_peculiar_blobs(self, data):
assert not fails

def test_single_blob(self):
sampler = emcee.EnsembleSampler(6, 1, lambda x: (-x ** 2, 3))
sampler = emcee.EnsembleSampler(6, 1, lambda x: (-(x ** 2), 3))
sampler.run_mcmc(np.random.normal(size=(6, 1)), 20)
inference_data = from_emcee(sampler, blob_names=["blob"])
fails = check_multiple_attrs({"sample_stats": ["blob"]}, inference_data)
Expand Down

0 comments on commit f4c944a

Please sign in to comment.