Ran
|
Files
236
|
Run time
13s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/micropython/micropython/commit/<a class=hub.com/micropython/micropython/commit/e2e22e3d7e29985579b2c91c639c71229422f349">e2e22e3d7<a href="https://github.com/micropython/micropython/commit/e2e22e3d7e29985579b2c91c639c71229422f349">">py/objgenerator: Implement __name__ with normal fun attr accessor code. With the recent change </a><a class="double-link" href="https://github.com/micropython/micropython/commit/<a class="double-link" href="https://github.com/micropython/micropython/commit/b488a4a8480533a6a3c9468c2f8bd359c94d4d02">b488a4a84</a>">b488a4a84</a><a href="https://github.com/micropython/micropython/commit/e2e22e3d7e29985579b2c91c639c71229422f349">, a generating function now has the same layout in memory as a normal bytecode function, and so can reuse the latter's attribute accessor code to implement __name__.
17971 of 18331 relevant lines covered (98.04%)
334666.11 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|