Skip to content

Commit

Permalink
remove redundant test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomicapretto committed Apr 28, 2024
1 parent 294aa64 commit 538c3a5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/sampling/test_mcmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,15 +695,6 @@ def test_no_init_nuts_compound(caplog):


def test_sample_var_names():
with pm.Model() as model:
a = pm.Normal("a")
b = pm.Deterministic("b", a**2)
idata = pm.sample(10, tune=10, var_names=["a"])
assert "a" in idata.posterior
assert "b" not in idata.posterior


def test_sample_var_names_draws():
# Generate data
seed = 1234
rng = np.random.default_rng(seed)
Expand Down

0 comments on commit 538c3a5

Please sign in to comment.