From 2f9e5d185f81014973b6724e1cf8bdc11d12f3f4 Mon Sep 17 00:00:00 2001 From: Adrian Seyboldt Date: Tue, 21 Sep 2021 23:13:52 +0200 Subject: [PATCH] Fix tests for deleted init methods --- pymc3/tests/test_quadpotential.py | 6 ------ pymc3/tests/test_sampling.py | 2 -- 2 files changed, 8 deletions(-) diff --git a/pymc3/tests/test_quadpotential.py b/pymc3/tests/test_quadpotential.py index c869511a606..a6ac9950ddc 100644 --- a/pymc3/tests/test_quadpotential.py +++ b/pymc3/tests/test_quadpotential.py @@ -279,9 +279,3 @@ def test_full_adapt_sampling(seed=289586): pot = quadpotential.QuadPotentialFullAdapt(initial_point_size, np.zeros(initial_point_size)) step = pymc3.NUTS(model=model, potential=pot) pymc3.sample(draws=10, tune=1000, random_seed=seed, step=step, cores=1, chains=1) - - -def test_issue_3965(): - with pymc3.Model(): - pymc3.Normal("n") - pymc3.sample(100, tune=300, chains=1, init="advi+adapt_diag_grad") diff --git a/pymc3/tests/test_sampling.py b/pymc3/tests/test_sampling.py index 50b56e9a20b..04767ae9b68 100644 --- a/pymc3/tests/test_sampling.py +++ b/pymc3/tests/test_sampling.py @@ -94,8 +94,6 @@ def test_sample_init(self): "adapt_diag", "jitter+adapt_diag", "jitter+adapt_diag_grad", - "advi+adapt_diag_grad", - "advi+adapt_diag", "adapt_full", "jitter+adapt_full", ):