Skip to content

Commit 5d9e3a7

Browse files
committed
fix: pypy tests
1 parent abb2c8c commit 5d9e3a7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/common/test_msgpack_packet.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ def test_encode_without_dumps_default(self):
7373
'key': 'value',
7474
}
7575
p_without_default = msgpack_packet.MsgPackPacket(data=data)
76-
with pytest.raises(
77-
TypeError, match="can not serialize 'datetime.datetime' object"
78-
):
76+
with pytest.raises(TypeError):
7977
p_without_default.encode()
8078

8179
def test_encode_decode_with_ext_hook(self):

0 commit comments

Comments
 (0)