Skip to content

Implement support for async and iterators. #12

Implement support for async and iterators.

Implement support for async and iterators. #12

GitHub Actions / test-py3.12-dev-on-ubuntu-20.04 succeeded Sep 25, 2023 in 0s

test-py3.12-dev-on-ubuntu-20.04 ✅

Tests passed successfully

✅ test_py3.12-dev_on_ubuntu-20.04.xml

23 tests were completed in 186ms with 23 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 23✅ 186ms

✅ pytest

once_test.TestOnce
  ✅ test_closure_gc
  ✅ test_counter_works
  ✅ test_different_args_same_result
  ✅ test_different_fn_do_not_deadlock
  ✅ test_function_signature_preserved
  ✅ test_iterator
  ✅ test_lock_bypass
  ✅ 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_threaded_multiple_functions
  ✅ test_threaded_single_function
once_test.TestOnceAsync
  ✅ test_fn_called_once
  ✅ test_iterator
  ✅ test_once_per_class
  ✅ test_once_per_class_classmethod
  ✅ test_once_per_class_staticmethod