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

micropython / micropython / 11788
98%

Build:
DEFAULT BRANCH: master
Ran 29 Oct 2019 12:28PM UTC
Jobs 1
Files 267
Run time 17s
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
11788

push

travis-ci

dpgeorge
py/runtime: Reorder some binary ops so they don't require conditionals.

runtime0.h is part of the MicroPython ABI so it's simpler if it's
independent of config options, like MICROPY_PY_REVERSE_SPECIAL_METHODS.

What's effectively done here is to move MP_BINARY_OP_DIVMOD and
MP_BINARY_OP_CONTAINS up in the enum, then remove the #if
MICROPY_PY_REVERSE_SPECIAL_METHODS conditional.

Without this change .mpy files would need to have a feature flag for
MICROPY_PY_REVERSE_SPECIAL_METHODS (when embedding native code that uses
this enum).

This commit has no effect when MICROPY_PY_REVERSE_SPECIAL_METHODS is
disabled.  With this option enabled this commit reduces code size by about
60 bytes.

7 of 7 new or added lines in 1 file covered. (100.0%)

18779 of 19164 relevant lines covered (97.99%)

348048.92 hits per line

Jobs
ID Job ID Ran Files Coverage
3 11788.3 (NAME="unix coverage build and tests") 29 Oct 2019 12:28PM UTC 0
97.99
Travis Job 11788.3
Source Files on build 11788
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11788
  • 323d4788 on github
  • Prev Build on master (#11787)
  • Next Build on master (#11791)
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