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 abb2c8c commit 5d9e3a7Copy full SHA for 5d9e3a7
tests/common/test_msgpack_packet.py
@@ -73,9 +73,7 @@ def test_encode_without_dumps_default(self):
73
'key': 'value',
74
}
75
p_without_default = msgpack_packet.MsgPackPacket(data=data)
76
- with pytest.raises(
77
- TypeError, match="can not serialize 'datetime.datetime' object"
78
- ):
+ with pytest.raises(TypeError):
79
p_without_default.encode()
80
81
def test_encode_decode_with_ext_hook(self):
0 commit comments