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

micropython / micropython / 11024
98%

Build:
DEFAULT BRANCH: master
Ran 30 Jul 2019 07:23AM UTC
Jobs 1
Files 244
Run time 23s
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

pending completion
11024

push

travis-ci

dpgeorge
py/objdict: Quote non-string types when used as keys in JSON output.

JSON requires that keys of objects be strings.  CPython will therefore
automatically quote simple types (NoneType, bool, int, float) when they are
used directly as keys in JSON output.  To prevent subtle bugs and emit
compliant JSON, MicroPython should at least test for such keys so they
aren't silently let through.  Then doing the actual quoting is a similar
cost to raising an exception, so that's what is implemented by this patch.

Fixes issue #4790.

18455 of 18832 relevant lines covered (98.0%)

364498.57 hits per line

Jobs
ID Job ID Ran Files Coverage
3 11024.3 (NAME="unix coverage build and tests") 30 Jul 2019 07:23AM UTC 0
98.0
Travis Job 11024.3
Source Files on build 11024
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11024
  • 01054f20 on github
  • Prev Build on master (#11010)
  • Next Build on master (#11025)
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