• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

osrg / ryu / 845 / 1
0%
master: 0%

Build:
DEFAULT BRANCH: master
Ran 14 Nov 2016 09:36AM UTC
Files 400
Run time 16s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Nov 2016 09:14AM UTC coverage: 68.075% (-0.009%) from 68.084%
TOX_ENV=py27

push

travis-ci

fujita
RPC: Specify encoding to msgpack.Packer/Unpacker

Currently, RPC requests using rpc_cli.py will crash on Python 3,
because the decoded string through msgpack-rpc is not str type
when the default encoding is not specified into msgpack.Unpacker.
On Python 2, bytes type is the same as str type, and this problem
does not occur.

The old spec of msgpack had no notation of the encoding, but now,
msgpack defines "UTF-8" as the default encoding and has the explicit
type definitions for String and Binary.
  https://github.com/msgpack/msgpack/blob/master/spec.md

This patch fixes to specify the encoding to msgpack.Packer/Unpacker
and enable to use Binary type when packing for the Python 3
compatibility.

Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>

52632 of 77315 relevant lines covered (68.07%)

0.68 hits per line

Source Files on job 845.1 (TOX_ENV=py27)
  • Tree
  • List 0
  • Changed 11
  • Source Changed 10
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 845
  • Travis Job 845.1
  • 1af384fa on github
  • Prev Job for TOX_ENV=py27 on master (#844.1)
  • Next Job for TOX_ENV=py27 on master (#846.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc