Show More
@@ -284,7 +284,12 b' class TestSession(SessionTestCase):' | |||||
284 |
|
284 | |||
285 | @skipif(module_not_available('msgpack')) |
|
285 | @skipif(module_not_available('msgpack')) | |
286 | def test_datetimes_msgpack(self): |
|
286 | def test_datetimes_msgpack(self): | |
287 | session = ss.Session(packer='msgpack.packb', unpacker='msgpack.unpackb') |
|
287 | import msgpack | |
|
288 | ||||
|
289 | session = ss.Session( | |||
|
290 | pack=msgpack.packb, | |||
|
291 | unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'), | |||
|
292 | ) | |||
288 | self._datetime_test(session) |
|
293 | self._datetime_test(session) | |
289 |
|
294 | |||
290 | def test_send_raw(self): |
|
295 | def test_send_raw(self): |
General Comments 0
You need to be logged in to leave comments.
Login now