Skip to content
Merged
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,10 @@ def test_config_pickling():
configparser.IntParam(5, lambda i: i > 0),
in_c_key=False,
)
with pytest.raises(AttributeError, match="Can't pickle local object"):
with pytest.raises(
AttributeError,
match="Can't pickle local object 'test_config_pickling.<locals>.<lambda>'",
):
pickle.dump(root, io.BytesIO())


Expand Down
Loading