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

agronholm / cbor2 / 117 / 4
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 12 Nov 2018 09:58AM UTC
Files 5
Run time 0s
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

12 Nov 2018 09:56AM UTC coverage: 97.383% (+1.4%) from 96.03%
TOXENV=py27

push

travis-ci

web-flow
Fix for #26: handle overflow exceptions properly... (#27)

* Fix for #26: handle overflow exceptions properly and try a better encoding.

* More efficient encoding of floats

Follows recommendation in _draft_ CBOR spec:

https://tools.ietf.org/html/draft-ietf-cbor-7049bis-04#page-32

   If a protocol allows for IEEE floats, then additional
   canonicalization rules might need to be added.  One example rule
   might be to have all floats start as a 64-bit float, then do a test
   conversion to a 32-bit float; if the result is the same numeric
   value, use the shorter value and repeat the process with a test
   conversion to a 16-bit float.  (This rule selects 16-bit float for
   positive and negative Infinity as well.)  Also, there are many
   representations for NaN.  If NaN is an allowed value, it must always
   be represented as 0xf97e00.

* Explicitly test float16 packing to improve coverage

* Exclude empty compat functions from coverage report

521 of 535 relevant lines covered (97.38%)

0.97 hits per line

Source Files on job 117.4 (TOXENV=py27)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 100
  • Travis Job 117.4
  • b1615225 on github
  • Prev Job for TOXENV=py27 on master (#116.4)
  • Next Job for TOXENV=py27 on master (#119.4)
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