|
Ran
|
Jobs
1
|
Files
274
|
Run time
18s
|
Badge
README BADGES
|
push
travis-ci-com
<a href="https://github.com/micropython/micropython/commit/<a class=hub.com/micropython/micropython/commit/<a class="double-link" href="https://git"><a class=hub.com/micropython/micropython/commit/<a class="double-link" href="https://git"><a class=hub.com/micropython/micropython/commit/e292296d52800939e70513e33ec456518330c4ad">e292296d5<a href="https://github.com/micropython/micropython/commit/e292296d52800939e70513e33ec456518330c4ad"><a href="https://github.com/micropython/micropython/commit/e292296d52800939e70513e33ec456518330c4ad"><a href="https://github.com/micropython/micropython/commit/e292296d52800939e70513e33ec456518330c4ad">&quot;&gt;py/objexcept: Remove optional TimeoutError exception. TimeoutError was added back in &lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/micropython/micropython/commit/<a class="double-link" href="https://github.com/micropython/micropython/commit/077812b2abe3f5e5325194f9694dad7eb38186dd">077812b2a</a>">077812b2a</a><a href="https://github.com/micropython/micropython/commit/e292296d52800939e70513e33ec456518330c4ad"> for the cc3200 port. In </a><a class="double-link" href="https://github.com/micropython/micropython/commit/<a class="double-link" href="https://github.com/micropython/micropython/commit/f522849a4d5a978ac3d322d71a755f75d07e8ce6">f522849a4</a>">f522849a4</a><a href="https://github.com/micropython/micropython/commit/e292296d52800939e70513e33ec456518330c4ad"> the cc3200 port enabled use of it in the socket module aliased to socket.timeout. So it was never added to the builtins. Then it was replaced by OSError(ETIMEDOUT) in </a><a class="double-link" href="https://github.com/micropython/micropython/commit/<a class="double-link" href="https://github.com/micropython/micropython/commit/047af9b10bfc6b0ec412f8450c6bec10ab95254b">047af9b10</a>">047af9b10</a><a href="https://github.com/micropython/micropython/commit/e292296d52800939e70513e33ec456518330c4ad">. The esp32 port enables this exception, since the very beginning of that port, but it could never be accessed because it's not in builtins. It's being removed: 1) to not encourage its use; 2) because there are a lot of other OSError subclasses which are not defined at all, and having TimeoutError is a bit inconsistent. Note that ports can add anything to the builtins via MICROPY_PORT_BUILTINS. And they can also define their own exceptions using the MP_DEFINE_EXCEPTION() macro.
16667 of 16988 relevant lines covered (98.11%)
474855.75 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 4 | 13147.4 (MAKEOPTS="-j4" NAME="unix coverage build and tests") | 0 |
98.11 |
Travis Job 13147.4 |