Skip to content

Commit bd80b46

Browse files
committed
Remove Constant step method test
1 parent 93bd8e3 commit bd80b46

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

pymc3/tests/test_step.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from pymc3.sampling import assign_step_methods, sample
66
from pymc3.model import Model
77
from pymc3.step_methods import (NUTS, BinaryGibbsMetropolis, CategoricalGibbsMetropolis,
8-
Metropolis, Constant, Slice, CompoundStep,
8+
Metropolis, Slice, CompoundStep,
99
MultivariateNormalProposal, HamiltonianMC)
1010
from pymc3.distributions import Binomial, Normal, Bernoulli, Categorical
1111
from numpy.testing import assert_almost_equal
@@ -68,14 +68,6 @@ def test_step_categorical(self):
6868
self.check_stat(check, trace)
6969

7070

71-
def test_constant_step(self):
72-
with Model():
73-
x = Normal('x', 0, 1)
74-
start = {'x': -1}
75-
tr = sample(10, step=Constant([x]), start=start)
76-
assert_almost_equal(tr['x'], start['x'], decimal=10)
77-
78-
7971
class TestCompoundStep(unittest.TestCase):
8072
samplers = (Metropolis, Slice, HamiltonianMC, NUTS)
8173

0 commit comments

Comments
 (0)