Skip to content

Commit

Permalink
remove strict error message check in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Spaak committed Jul 13, 2021
1 parent f2e96e9 commit 0f5578d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymc3/tests/test_minibatches.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def test_pickling(self, datagen):
gen = generator(datagen)
cloudpickle.loads(cloudpickle.dumps(gen))
bad_gen = generator(integers())
with pytest.raises(TypeError, match="cannot pickle 'generator' object"):
with pytest.raises(TypeError):
cloudpickle.dumps(bad_gen)

def test_gen_cloning_with_shape_change(self, datagen):
Expand Down

0 comments on commit 0f5578d

Please sign in to comment.