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

pfalcon / micropython
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: pfalcon
DEFAULT BRANCH: master
Repo Added 22 Jan 2017 12:37PM UTC
Files 246
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

LAST BUILD ON BRANCH float-cmp-fix
branch: float-cmp-fix
CHANGE BRANCH
x
Reset
  • float-cmp-fix
  • README-await
  • bytecode-get-loc
  • bytesio-cow
  • cc3200-bye-uos.sep
  • cmp-readbin-writebin
  • cmp-ustruct-stream
  • codeconv-docs
  • commit-real-name
  • cpp-coveralls-0.3.12
  • cross
  • decode_codestate_size
  • docs-cpy-3.5
  • docs-pfalcon-copyright
  • docs-pyboard-geninfo-hw
  • docs-single-index
  • docs-toc-drop-ind-tables
  • docs-ver-release-same
  • embed-readme
  • esp8266-ld-update
  • esp8266-plus-32K
  • extmod-moduselect-ipoll
  • extmod-rommap
  • from_bytes-default-endian
  • frozen-sizes
  • gen-pend-throw
  • getsizeof
  • inplace-ops-fallback
  • ipoll
  • libaxtls-auto
  • lookup-attr-locals_dict
  • lookup-new
  • machine-signal
  • master
  • master-sizable
  • modlwip-multicast-add
  • modlwip-poll-peer-closed
  • mpy-cross-all
  • network-basenic-doc
  • obj-slots
  • obj-slots-revamp
  • obj.h-rom-consts
  • pfalcon
  • pfalcon-20180831
  • pfalcon-20180907
  • pfalcon-20180908
  • pfalcon-20181006
  • pin-docs-remove-call
  • pin-on-off
  • pyboard-exec-device
  • readme-contrib
  • res-stream2
  • resource_stream1
  • reverse-ops
  • run-tests-features
  • signal-subclass-pin-constructor
  • soft-reboot-friendly-repl
  • spec-meth-qstrs-byte
  • spec-methods-all
  • stream-read-writebin
  • test-ffi_float-skip
  • tests-ussl-conn
  • time-pulse-no-exc
  • tinytest-check-output
  • tools-bin2res
  • trav-stkless-always
  • travis-stackless
  • ucrypto
  • unary-op-bc
  • unix-minus-m-pkg
  • ussl-axtls-nblock-reads
  • v1.10
  • v1.11
  • zephyr-1.13-updates
  • zephyr-build-test
  • zephyr-revamp-make
  • zephyr-socket
  • zephyr-socket2
  • zephyr-wip

pending completion
985

push

travis-ci

pfalcon
py/objfloat: Fix binary ops with incompatible objects.

These are now returned as "operation not supported" instead of raising
TypeError. In particular, this fixes equality for float vs incompatible
types, which now properly results in False instead of exception. This
also paves the road to support reverse operation (e.g. __radd__) with
float objects.

This is achieved by introducing mp_obj_get_float_maybe(), similar to
existing mp_obj_get_int_maybe().

17389 of 17753 relevant lines covered (97.95%)

320286.43 hits per line

Relevant lines Covered
Build:
Build:
17753 RELEVANT LINES 17389 COVERED LINES
320286.43 HITS PER LINE
Source Files on float-cmp-fix
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
985 float-cmp-fix py/objfloat: Fix binary ops with incompatible objects. These are now returned as "operation not supported" instead of raising TypeError. In particular, this fixes equality for float vs incompatible types, which now properly results in False inste... push 02 Sep 2017 08:12PM UTC pfalcon travis-ci pending completion  
984 float-cmp-fix py/objfloat: Fix binary ops with incompatible objects. These are now returned as "operation not supported" instead of raising TypeError. In particular, this fixes equality for float vs incompatible types, which now properly results in False inste... push 02 Sep 2017 07:50PM UTC pfalcon travis-ci pending completion  
983 float-cmp-fix py/objfloat: Fix binary ops with incompatible objects. These are now returned as "operation not supported" instead of raising TypeError. In particular, this fixes equality for float vs incompatible types, which now properly results in False inste... push 02 Sep 2017 06:33PM UTC pfalcon travis-ci pending completion  
See All Builds (864)
  • Repo on GitHub
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