Skip to content

Commit

Permalink
Remove another backend test
Browse files Browse the repository at this point in the history
  • Loading branch information
fonnesbeck committed Nov 18, 2020
1 parent a34e98f commit fea10a1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pymc3/tests/test_sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,16 +355,6 @@ def test_choose_backend_list_of_variables(self):
pm.sampling._choose_backend(["var1", "var2"], "chain")
nd.assert_called_with(vars=["var1", "var2"])

def test_choose_backend_invalid(self):
with pytest.raises(ValueError):
pm.sampling._choose_backend("invalid", "chain")

def test_choose_backend_shortcut(self):
backend = mock.Mock()
shortcuts = {"test_backend": {"backend": backend, "name": None}}
pm.sampling._choose_backend("test_backend", "chain", shortcuts=shortcuts)
assert backend.called


class TestSamplePPC(SeededTest):
def test_normal_scalar(self):
Expand Down

0 comments on commit fea10a1

Please sign in to comment.