We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ae3cfe commit 7fffec6Copy full SHA for 7fffec6
tests/test_config.py
@@ -254,7 +254,10 @@ def test_config_pickling():
254
configparser.IntParam(5, lambda i: i > 0),
255
in_c_key=False,
256
)
257
- with pytest.raises(AttributeError, match="Can't pickle local object"):
+ with pytest.raises(
258
+ AttributeError,
259
+ match="Can't (pickle|get) local object 'test_config_pickling.<locals>.<lambda>'",
260
+ ):
261
pickle.dump(root, io.BytesIO())
262
263
0 commit comments