Skip to content

Commit 0f5578d

Browse files
committed
remove strict error message check in test
1 parent f2e96e9 commit 0f5578d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/tests/test_minibatches.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def test_pickling(self, datagen):
134134
gen = generator(datagen)
135135
cloudpickle.loads(cloudpickle.dumps(gen))
136136
bad_gen = generator(integers())
137-
with pytest.raises(TypeError, match="cannot pickle 'generator' object"):
137+
with pytest.raises(TypeError):
138138
cloudpickle.dumps(bad_gen)
139139

140140
def test_gen_cloning_with_shape_change(self, datagen):

0 commit comments

Comments
 (0)