Skip to content

Commit 8388272

Browse files
ferrinetaku-y
authored andcommitted
fix test
1 parent 1e007fa commit 8388272

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pymc3/tests/test_minibatches.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,6 @@ def test_1d(self):
258258
assert mb.eval().shape == (20, 10, 40, 10, 50)
259259

260260
def test_2d(self):
261-
with pytest.raises(TypeError):
262-
pm.Minibatch(self.data, (10, 5))
263261
mb = pm.Minibatch(self.data, [(10, 42), (4, 42)])
264262
assert mb.eval().shape == (10, 4, 40, 10, 50)
265263

0 commit comments

Comments
 (0)