Skip to content

Commit 4535115

Browse files
committed
Remove unused caplog
1 parent 4c92adf commit 4535115

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pymc/tests/test_sampling.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ def test_normal_scalar_idata(self):
673673
ppc = pm.sample_posterior_predictive(idata, keep_size=True, return_inferencedata=False)
674674
assert ppc["a"].shape == (nchains, ndraws)
675675

676-
def test_normal_vector(self, caplog):
676+
def test_normal_vector(self):
677677
with pm.Model() as model:
678678
mu = pm.Normal("mu", 0.0, 1.0)
679679
a = pm.Normal("a", mu=mu, sigma=1, observed=np.array([0.5, 0.2]))
@@ -710,7 +710,7 @@ def test_normal_vector(self, caplog):
710710
assert "a" in ppc
711711
assert ppc["a"].shape == (12, 2)
712712

713-
def test_normal_vector_idata(self, caplog):
713+
def test_normal_vector_idata(self):
714714
with pm.Model() as model:
715715
mu = pm.Normal("mu", 0.0, 1.0)
716716
a = pm.Normal("a", mu=mu, sigma=1, observed=np.array([0.5, 0.2]))
@@ -726,7 +726,7 @@ def test_normal_vector_idata(self, caplog):
726726
ppc = pm.sample_posterior_predictive(idata, return_inferencedata=False, keep_size=True)
727727
assert ppc["a"].shape == (trace.nchains, len(trace), 2)
728728

729-
def test_exceptions(self, caplog):
729+
def test_exceptions(self):
730730
with pm.Model() as model:
731731
mu = pm.Normal("mu", 0.0, 1.0)
732732
a = pm.Normal("a", mu=mu, sigma=1, observed=np.array([0.5, 0.2]))

0 commit comments

Comments
 (0)