micropython-lib icon indicating copy to clipboard operation
micropython-lib copied to clipboard

test_delegation_of_close_to_non_generator and test_throwing_GeneratorExit_into_subgenerator_that_yields fail on Linux

Open ggardet opened this issue 4 years ago • 0 comments

I built and tested micropython-lib for Linux target but test_delegation_of_close_to_non_generator and test_throwing_GeneratorExit_into_subgenerator_that_yields fail.

Log:

[   38s] + cd micropython-lib-1.9.3
[   38s] + micropython -v ./test/test_pep380.py
[   38s] test_delegation_of_initial_next_to_subgenerator (TestPEP380Operation) ... ok
[   38s] test_raising_exception_in_initial_next_call (TestPEP380Operation) ... ok
[   38s] test_delegation_of_next_call_to_subgenerator (TestPEP380Operation) ... ok
[   38s] test_raising_exception_in_delegated_next_call (TestPEP380Operation) ... ok
[   38s] test_delegation_of_send (TestPEP380Operation) ... ok
[   38s] test_handling_exception_while_delegating_send (TestPEP380Operation) ... ok
[   38s] test_delegating_close (TestPEP380Operation) ... ok
[   38s] test_handing_exception_while_delegating_close (TestPEP380Operation) ... ok
[   38s] test_delegating_throw (TestPEP380Operation) ... ok
[   38s] test_value_attribute_of_StopIteration_exception (TestPEP380Operation) ... ok
[   38s] test_exception_value_crash (TestPEP380Operation) ... ok
[   38s] test_generator_return_value (TestPEP380Operation) ... ok
[   38s] test_delegation_of_next_to_non_generator (TestPEP380Operation) ... ok
[   38s] test_conversion_of_sendNone_to_next (TestPEP380Operation) ... ok
[   38s] test_delegation_of_close_to_non_generator (TestPEP380Operation) ... FAIL
[   38s] test_delegating_throw_to_non_generator (TestPEP380Operation) ... ok
[   38s] test_attempting_to_send_to_non_generator (TestPEP380Operation) ... ok
[   38s] test_broken_getattr_handling (TestPEP380Operation) ... ok
[   38s] test_exception_in_initial_next_call (TestPEP380Operation) ... ok
[   38s] test_attempted_yield_from_loop (TestPEP380Operation) ... skipped: MicroPython doesn't check for already active generator when resuming it
[   38s] test_returning_value_from_delegated_throw (TestPEP380Operation) ... ok
[   38s] test_next_and_return_with_value (TestPEP380Operation) ... ok
[   38s] test_send_and_return_with_value (TestPEP380Operation) ... ok
[   38s] test_catching_exception_from_subgen_and_returning (TestPEP380Operation) ... ok
[   38s] test_throwing_GeneratorExit_into_subgen_that_returns (TestPEP380Operation) ... ok
[   38s] test_throwing_GeneratorExit_into_subgenerator_that_yields (TestPEP380Operation) ... FAIL
[   38s] test_throwing_GeneratorExit_into_subgen_that_raises (TestPEP380Operation) ... ok
[   38s] test_yield_from_empty (TestPEP380Operation) ... ok
[   38s] test_delegating_generators_claim_to_be_running (TestPEP380Operation) ... skipped: MicroPython doesn't check for already active generator when resuming it
[   38s] test_delegator_is_visible_to_debugger (TestPEP380Operation) ... skipped: MicroPython doesn't support inspect.stack()
[   38s] test_custom_iterator_return (TestPEP380Operation) ... ok
[   38s] test_close_with_cleared_frame (TestPEP380Operation) ... ok
[   38s] test_send_tuple_with_custom_generator (TestPEP380Operation) ... ok
[   38s] Ran 33 tests
[   38s] 
[   38s] FAILED (failures=2, errors=0)

ggardet avatar Feb 03 '21 13:02 ggardet