nedbat / coveragepy
Showing 1 of 1 files from the diff.

@@ -263,9 +263,8 @@
Loading
263 263
264 264
    def __radd__(self, other):
265 265
        # Implementing 0+Numbers allows us to sum() a list of Numbers.
266 -
        if other == 0:
267 -
            return self
268 -
        return NotImplemented       # pragma: not covered (we never call it this way)
266 +
        assert other == 0   # we only ever call it this way.
267 +
        return self
269 268
270 269
271 270
def _line_ranges(statements, lines):
Files Coverage
coverage 90.91%
tests 99.62%
__main__.py 100.00%
Project Totals (89 files) 96.13%

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading