Handle exceptions and preserve function type. #26
GitHub Actions / test-py3.8-on-windows-2019
succeeded
Oct 12, 2023 in 0s
test-py3.8-on-windows-2019 ✅
✅ test_py3.8_on_windows-2019.xml
44 tests were completed in 4s with 41 passed, 0 failed and 3 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 41✅ | 3⚪ | 4s |
✅ pytest
once_test.TestFunctionInspection
✅ test_async_function
✅ test_sync_agenerator_function
✅ test_sync_function
✅ test_sync_generator_function
once_test.TestOnce
✅ test_closure_gc
✅ test_counter_works
✅ test_different_args_same_result
✅ test_different_fn_do_not_deadlock
✅ test_failing_function
✅ test_failing_generator
✅ test_function_signature_preserved
⚪ test_inspect_iterator
✅ test_iterator
✅ test_iterator_lock_not_held_during_evaluation
✅ test_iterator_parallel_execution
✅ test_once_not_allowed_on_method
✅ test_once_per_class
✅ test_once_per_class_classmethod
✅ test_once_per_class_not_allowed_on_classmethod
✅ test_once_per_class_not_allowed_on_staticmethod
✅ test_once_per_class_staticmethod
✅ test_once_per_instance
✅ test_once_per_instance_do_not_block_each_other
✅ test_once_per_instance_not_allowed_on_function
✅ test_partial
✅ test_receiving_iterator
✅ test_receiving_iterator_parallel_execution
✅ test_receiving_iterator_parallel_execution_halting
✅ test_threaded_multiple_functions
✅ test_threaded_single_function
once_test.TestOnceAsync
✅ test_failing_function
⚪ test_failing_generator
✅ test_fn_called_once
✅ test_inspect_func
✅ test_inspect_iterator
✅ test_iterator
✅ test_iterator_is_lazily_evaluted
⚪ test_iterator_lock_not_held_during_evaluation
✅ test_once_per_class
✅ test_once_per_class_classmethod
✅ test_once_per_class_staticmethod
✅ test_receiving_iterator
✅ test_receiving_iterator_parallel_execution
✅ test_receiving_iterator_parallel_execution_halting
Loading