Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test exception handling preserves the call stack. #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Test exception handling preserves the call stack.

0c79890
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Test exception handling preserves the call stack. #17

Test exception handling preserves the call stack.
0c79890
Select commit
Loading
Failed to load commit list.
GitHub Actions / test-py3.13.0-alpha.1-on-ubuntu-20.04 succeeded Nov 8, 2023 in 1s

test-py3.13.0-alpha.1-on-ubuntu-20.04 ✅

Tests passed successfully

✅ test_py3.13.0-alpha.1_on_ubuntu-20.04.xml

58 tests were completed in 325ms with 58 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 58✅ 325ms

✅ pytest

once_test.TestFunctionInspection
  ✅ test_async_function
  ✅ test_async_generator_function
  ✅ test_async_generator_method
  ✅ test_async_method
  ✅ test_sync_function
  ✅ test_sync_generator_function
  ✅ test_sync_generator_method
  ✅ test_sync_method
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_function_retry_exceptions
  ✅ test_failing_generator
  ✅ test_failing_generator_retry_exceptions
  ✅ 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_parallel
  ✅ test_once_per_class_per_thread
  ✅ 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_once_per_instance_parallel
  ✅ test_once_per_instance_per_thread
  ✅ test_once_per_thread
  ✅ 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_function_retry_exceptions
  ✅ test_failing_generator
  ✅ test_failing_generator_retry_exceptions
  ✅ 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_once_per_thread
  ✅ test_receiving_iterator
  ✅ test_receiving_iterator_parallel_execution
  ✅ test_receiving_iterator_parallel_execution_halting