py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV) py$(PYV): commands[0]> make test coverage run -m pytest ============================= test session starts ============================== platform sunos5 -- Python $(PYTHON_VERSION).X -- $(PYTHON) cachedir: .tox/py$(PYV)/.pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase(PosixPath('$(@D)/.hypothesis/examples')) rootdir: $(@D) configfile: pyproject.toml testpaths: docs, tests asyncio: mode=auto, asyncio_default_fixture_loop_scope=function collecting ... collected 202 items docs/concepts_function_scope_example.py::test_runs_in_a_loop PASSED docs/concepts_module_scope_example.py::test_remember_loop PASSED docs/concepts_module_scope_example.py::test_runs_in_a_loop PASSED docs/how-to-guides/change_fixture_loop_example.py::test_runs_in_module_loop PASSED docs/how-to-guides/class_scoped_loop_example.py::TestInOneEventLoopPerClass::test_remember_loop PASSED docs/how-to-guides/class_scoped_loop_example.py::TestInOneEventLoopPerClass::test_assert_same_loop PASSED docs/how-to-guides/module_scoped_loop_example.py::test_remember_loop PASSED docs/how-to-guides/module_scoped_loop_example.py::test_assert_same_loop PASSED docs/how-to-guides/multiple_loops_example.py::test_uses_custom_event_loop_policy[event_loop_policy0] PASSED docs/how-to-guides/multiple_loops_example.py::test_uses_custom_event_loop_policy[event_loop_policy1] PASSED docs/how-to-guides/test_session_scoped_loop_example.py::test_session_scoped_loop_configuration_works_in_auto_mode PASSED docs/how-to-guides/test_session_scoped_loop_example.py::test_session_scoped_loop_configuration_works_in_strict_mode PASSED docs/reference/fixtures/event_loop_example.py::test_event_loop_fixture PASSED docs/reference/fixtures/event_loop_policy_example.py::test_uses_custom_event_loop_policy PASSED docs/reference/fixtures/event_loop_policy_parametrized_example.py::test_uses_custom_event_loop_policy[event_loop_policy0] PASSED docs/reference/fixtures/event_loop_policy_parametrized_example.py::test_uses_custom_event_loop_policy[event_loop_policy1] PASSED docs/reference/markers/class_scoped_loop_custom_policies_strict_mode_example.py::TestWithDifferentLoopPolicies::test_parametrized_loop[event_loop_policy0] PASSED docs/reference/markers/class_scoped_loop_custom_policies_strict_mode_example.py::TestWithDifferentLoopPolicies::test_parametrized_loop[event_loop_policy1] PASSED docs/reference/markers/class_scoped_loop_strict_mode_example.py::TestClassScopedLoop::test_remember_loop PASSED docs/reference/markers/class_scoped_loop_strict_mode_example.py::TestClassScopedLoop::test_this_runs_in_same_loop PASSED docs/reference/markers/class_scoped_loop_with_fixture_strict_mode_example.py::TestClassScopedLoop::test_runs_is_same_loop_as_fixture PASSED docs/reference/markers/function_scoped_loop_pytestmark_strict_mode_example.py::test_runs_in_asyncio_event_loop PASSED docs/reference/markers/function_scoped_loop_strict_mode_example.py::test_runs_in_asyncio_event_loop PASSED docs/reference/markers/module_scoped_loop_strict_mode_example.py::test_remember_loop PASSED docs/reference/markers/module_scoped_loop_strict_mode_example.py::test_this_runs_in_same_loop PASSED docs/reference/markers/module_scoped_loop_strict_mode_example.py::TestClassA::test_this_runs_in_same_loop PASSED tests/async_fixtures/test_async_fixtures.py::test_async_fixture PASSED tests/async_fixtures/test_async_fixtures.py::TestAsyncFixtureMethod::test_async_fixture_method PASSED tests/async_fixtures/test_async_fixtures_contextvars.py::test_var_from_sync_generator_propagates_to_async PASSED tests/async_fixtures/test_async_fixtures_contextvars.py::test_var_from_async_generator_propagates_to_sync XFAIL tests/async_fixtures/test_async_fixtures_contextvars.py::test_var_from_async_fixture_propagates_to_sync XFAIL tests/async_fixtures/test_async_fixtures_contextvars.py::test_var_from_generator_reset_before_previous_fixture_cleanup XFAIL tests/async_fixtures/test_async_fixtures_contextvars.py::test_var_from_fixture_reset_before_previous_fixture_cleanup XFAIL tests/async_fixtures/test_async_fixtures_contextvars.py::test_var_previous_value_restored_after_fixture XFAIL tests/async_fixtures/test_async_fixtures_contextvars.py::test_var_set_to_existing_value_ok XFAIL tests/async_fixtures/test_async_fixtures_scope.py::test_async_fixture_scope PASSED tests/async_fixtures/test_async_fixtures_with_finalizer.py::test_module_with_event_loop_finalizer PASSED tests/async_fixtures/test_async_fixtures_with_finalizer.py::test_module_with_get_event_loop_finalizer PASSED tests/async_fixtures/test_async_gen_fixtures.py::test_async_gen_fixture PASSED tests/async_fixtures/test_async_gen_fixtures.py::test_async_gen_fixture_finalized PASSED tests/async_fixtures/test_async_gen_fixtures.py::TestAsyncGenFixtureMethod::test_async_gen_fixture_method PASSED tests/async_fixtures/test_nested.py::test_async_fixture PASSED tests/async_fixtures/test_parametrized_loop.py::test_event_loop_parametrization PASSED tests/async_fixtures/test_shared_module_fixture.py::test_asyncio_mark_provides_package_scoped_loop_strict_mode PASSED tests/hypothesis/test_base.py::test_hypothesis_given_decorator_before_asyncio_mark PASSED tests/hypothesis/test_base.py::test_mark_outer PASSED tests/hypothesis/test_base.py::test_mark_and_parametrize[1] PASSED tests/hypothesis/test_base.py::test_mark_and_parametrize[2] PASSED tests/hypothesis/test_base.py::test_can_use_explicit_event_loop_fixture PASSED tests/hypothesis/test_base.py::test_async_auto_marked PASSED tests/hypothesis/test_base.py::test_sync_not_auto_marked PASSED tests/loop_fixture_scope/test_loop_fixture_scope.py::test_for_custom_loop PASSED tests/loop_fixture_scope/test_loop_fixture_scope.py::test_dependent_fixture PASSED tests/markers/test_class_scope.py::TestPyTestMark::test_is_asyncio PASSED tests/markers/test_class_scope.py::test_asyncio_mark_provides_class_scoped_loop_when_applied_to_functions PASSED tests/markers/test_class_scope.py::test_asyncio_mark_provides_class_scoped_loop_when_applied_to_class PASSED tests/markers/test_class_scope.py::test_asyncio_mark_raises_when_class_scoped_is_request_without_class PASSED tests/markers/test_class_scope.py::test_asyncio_mark_is_inherited_to_subclasses PASSED tests/markers/test_class_scope.py::test_asyncio_mark_respects_the_loop_policy PASSED tests/markers/test_class_scope.py::test_asyncio_mark_respects_parametrized_loop_policies PASSED tests/markers/test_class_scope.py::test_asyncio_mark_provides_class_scoped_loop_to_fixtures PASSED tests/markers/test_class_scope.py::test_asyncio_mark_allows_combining_class_scoped_fixture_with_function_scoped_test PASSED tests/markers/test_class_scope.py::test_asyncio_mark_handles_missing_event_loop_triggered_by_fixture PASSED tests/markers/test_class_scope.py::test_standalone_test_does_not_trigger_warning_about_no_current_event_loop_being_set PASSED tests/markers/test_function_scope.py::test_asyncio_mark_provides_function_scoped_loop_strict_mode PASSED tests/markers/test_function_scope.py::test_loop_scope_function_provides_function_scoped_event_loop PASSED tests/markers/test_function_scope.py::test_raises_when_scope_and_loop_scope_arguments_are_present PASSED tests/markers/test_function_scope.py::test_warns_when_scope_argument_is_present PASSED tests/markers/test_function_scope.py::test_function_scope_supports_explicit_event_loop_fixture_request PASSED tests/markers/test_function_scope.py::test_asyncio_mark_respects_the_loop_policy PASSED tests/markers/test_function_scope.py::test_asyncio_mark_respects_parametrized_loop_policies PASSED tests/markers/test_function_scope.py::test_asyncio_mark_provides_function_scoped_loop_to_fixtures PASSED tests/markers/test_function_scope.py::test_asyncio_mark_handles_missing_event_loop_triggered_by_fixture PASSED tests/markers/test_function_scope.py::test_standalone_test_does_not_trigger_warning_about_no_current_event_loop_being_set PASSED tests/markers/test_function_scope.py::test_asyncio_mark_does_not_duplicate_other_marks_in_auto_mode PASSED tests/markers/test_invalid_arguments.py::test_no_error_when_scope_passed_as_sole_keyword_argument PASSED tests/markers/test_invalid_arguments.py::test_error_when_scope_passed_as_positional_argument PASSED tests/markers/test_invalid_arguments.py::test_error_when_wrong_keyword_argument_is_passed PASSED tests/markers/test_invalid_arguments.py::test_error_when_additional_keyword_arguments_are_passed PASSED tests/markers/test_module_scope.py::test_asyncio_mark_works_on_module_level PASSED tests/markers/test_module_scope.py::test_asyncio_mark_provides_module_scoped_loop_strict_mode PASSED tests/markers/test_module_scope.py::test_raise_when_event_loop_fixture_is_requested_in_addition_to_scoped_loop PASSED tests/markers/test_module_scope.py::test_asyncio_mark_respects_the_loop_policy PASSED tests/markers/test_module_scope.py::test_asyncio_mark_respects_parametrized_loop_policies PASSED tests/markers/test_module_scope.py::test_asyncio_mark_provides_module_scoped_loop_to_fixtures PASSED tests/markers/test_module_scope.py::test_asyncio_mark_allows_combining_module_scoped_fixture_with_class_scoped_test PASSED tests/markers/test_module_scope.py::test_asyncio_mark_allows_combining_module_scoped_fixture_with_function_scoped_test PASSED tests/markers/test_module_scope.py::test_allows_combining_module_scoped_asyncgen_fixture_with_function_scoped_test PASSED tests/markers/test_module_scope.py::test_asyncio_mark_handles_missing_event_loop_triggered_by_fixture PASSED tests/markers/test_module_scope.py::test_standalone_test_does_not_trigger_warning_about_no_current_event_loop_being_set PASSED tests/markers/test_package_scope.py::test_asyncio_mark_provides_package_scoped_loop_strict_mode PASSED tests/markers/test_package_scope.py::test_raise_when_event_loop_fixture_is_requested_in_addition_to_scoped_loop PASSED tests/markers/test_package_scope.py::test_asyncio_mark_respects_the_loop_policy PASSED tests/markers/test_package_scope.py::test_asyncio_mark_respects_parametrized_loop_policies PASSED tests/markers/test_package_scope.py::test_asyncio_mark_provides_package_scoped_loop_to_fixtures PASSED tests/markers/test_package_scope.py::test_asyncio_mark_allows_combining_package_scoped_fixture_with_module_scoped_test PASSED tests/markers/test_package_scope.py::test_asyncio_mark_allows_combining_package_scoped_fixture_with_class_scoped_test PASSED tests/markers/test_package_scope.py::test_asyncio_mark_allows_combining_package_scoped_fixture_with_function_scoped_test PASSED tests/markers/test_package_scope.py::test_asyncio_mark_handles_missing_event_loop_triggered_by_fixture PASSED tests/markers/test_package_scope.py::test_standalone_test_does_not_trigger_warning_about_no_current_event_loop_being_set PASSED tests/markers/test_session_scope.py::test_asyncio_mark_provides_session_scoped_loop_strict_mode PASSED tests/markers/test_session_scope.py::test_raise_when_event_loop_fixture_is_requested_in_addition_to_scoped_loop PASSED tests/markers/test_session_scope.py::test_asyncio_mark_respects_the_loop_policy PASSED tests/markers/test_session_scope.py::test_asyncio_mark_respects_parametrized_loop_policies PASSED tests/markers/test_session_scope.py::test_asyncio_mark_provides_session_scoped_loop_to_fixtures PASSED tests/markers/test_session_scope.py::test_asyncio_mark_allows_combining_session_scoped_fixture_with_package_scoped_test PASSED tests/markers/test_session_scope.py::test_asyncio_mark_allows_combining_session_scoped_fixture_with_module_scoped_test PASSED tests/markers/test_session_scope.py::test_asyncio_mark_allows_combining_session_scoped_fixture_with_class_scoped_test PASSED tests/markers/test_session_scope.py::test_asyncio_mark_allows_combining_session_scoped_fixture_with_function_scoped_test PASSED tests/markers/test_session_scope.py::test_allows_combining_session_scoped_asyncgen_fixture_with_function_scoped_test PASSED tests/markers/test_session_scope.py::test_asyncio_mark_handles_missing_event_loop_triggered_by_fixture PASSED tests/markers/test_session_scope.py::test_standalone_test_does_not_trigger_warning_about_no_current_event_loop_being_set PASSED tests/modes/test_auto_mode.py::test_auto_mode_cmdline PASSED tests/modes/test_auto_mode.py::test_auto_mode_cfg PASSED tests/modes/test_auto_mode.py::test_auto_mode_async_fixture PASSED tests/modes/test_auto_mode.py::test_auto_mode_method_fixture PASSED tests/modes/test_auto_mode.py::test_auto_mode_static_method PASSED tests/modes/test_auto_mode.py::test_auto_mode_static_method_fixture PASSED tests/modes/test_strict_mode.py::test_strict_mode_cmdline PASSED tests/modes/test_strict_mode.py::test_strict_mode_cfg PASSED tests/modes/test_strict_mode.py::test_strict_mode_method_fixture PASSED tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_coroutine PASSED tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_fixture PASSED tests/modes/test_strict_mode.py::test_strict_mode_marked_test_unmarked_fixture_warning PASSED tests/modes/test_strict_mode.py::test_strict_mode_marked_test_unmarked_autouse_fixture_warning PASSED tests/test_asyncio_fixture.py::test_bare_fixture PASSED tests/test_asyncio_fixture.py::test_fixture_with_name PASSED tests/test_asyncio_fixture.py::test_fixture_with_params[2] PASSED tests/test_asyncio_fixture.py::test_fixture_with_params[4] PASSED tests/test_asyncio_fixture.py::test_sync_function_uses_async_fixture[auto] PASSED tests/test_asyncio_fixture.py::test_sync_function_uses_async_fixture[strict] PASSED tests/test_asyncio_mark.py::test_asyncio_mark_on_sync_function_emits_warning PASSED tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_function_emits_warning_in_strict_mode PASSED tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_function_emits_warning_in_auto_mode PASSED tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_method_emits_warning_in_strict_mode PASSED tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_method_emits_warning_in_auto_mode PASSED tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_staticmethod_emits_warning_in_strict_mode PASSED tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_staticmethod_emits_warning_in_auto_mode PASSED tests/test_dependent_fixtures.py::test_dependent_fixture PASSED tests/test_dependent_fixtures.py::test_factory_involving_factories PASSED tests/test_doctest.py::test_plugin_does_not_interfere_with_doctest_collection PASSED tests/test_doctest.py::test_plugin_does_not_interfere_with_doctest_textfile_collection PASSED tests/test_event_loop_fixture.py::test_event_loop_fixture_respects_event_loop_policy PASSED tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_returns_fresh_loop_after_test PASSED tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_handles_loop_set_to_none_sync PASSED tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_handles_loop_set_to_none_async_without_fixture PASSED tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_handles_loop_set_to_none_async_with_fixture PASSED tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_fixture_leaves_loop_unclosed PASSED tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_test_leaves_loop_unclosed PASSED tests/test_event_loop_fixture_override_deprecation.py::test_emit_warning_when_event_loop_fixture_is_redefined PASSED tests/test_event_loop_fixture_override_deprecation.py::test_emit_warning_when_event_loop_fixture_is_redefined_explicit_request PASSED tests/test_event_loop_fixture_override_deprecation.py::test_does_not_emit_warning_when_no_test_uses_the_event_loop_fixture PASSED tests/test_event_loop_fixture_override_deprecation.py::test_emit_warning_when_redefined_event_loop_is_used_by_fixture PASSED tests/test_explicit_event_loop_fixture_request.py::test_emit_warning_when_event_loop_is_explicitly_requested_in_coroutine PASSED tests/test_explicit_event_loop_fixture_request.py::test_emit_warning_when_event_loop_is_explicitly_requested_in_coroutine_method PASSED tests/test_explicit_event_loop_fixture_request.py::test_emit_warning_when_event_loop_is_explicitly_requested_in_coroutine_staticmethod PASSED tests/test_explicit_event_loop_fixture_request.py::test_emit_warning_when_event_loop_is_explicitly_requested_in_coroutine_fixture PASSED tests/test_explicit_event_loop_fixture_request.py::test_emit_warning_when_event_loop_is_explicitly_requested_in_async_gen_fixture PASSED tests/test_explicit_event_loop_fixture_request.py::test_does_not_emit_warning_when_event_loop_is_explicitly_requested_in_sync_function PASSED tests/test_explicit_event_loop_fixture_request.py::test_does_not_emit_warning_when_event_loop_is_explicitly_requested_in_sync_fixture PASSED tests/test_fixture_loop_scopes.py::test_loop_scope_session_is_independent_of_fixture_scope[session] PASSED tests/test_fixture_loop_scopes.py::test_loop_scope_session_is_independent_of_fixture_scope[package] PASSED tests/test_fixture_loop_scopes.py::test_loop_scope_session_is_independent_of_fixture_scope[module] PASSED tests/test_fixture_loop_scopes.py::test_loop_scope_session_is_independent_of_fixture_scope[class] PASSED tests/test_fixture_loop_scopes.py::test_loop_scope_session_is_independent_of_fixture_scope[function] PASSED tests/test_fixture_loop_scopes.py::test_default_loop_scope_config_option_changes_fixture_loop_scope[function] PASSED tests/test_fixture_loop_scopes.py::test_default_loop_scope_config_option_changes_fixture_loop_scope[module] PASSED tests/test_fixture_loop_scopes.py::test_default_loop_scope_config_option_changes_fixture_loop_scope[session] PASSED tests/test_fixture_loop_scopes.py::test_default_class_loop_scope_config_option_changes_fixture_loop_scope PASSED tests/test_fixture_loop_scopes.py::test_default_package_loop_scope_config_option_changes_fixture_loop_scope PASSED tests/test_import.py::test_import_warning_does_not_cause_internal_error PASSED tests/test_import.py::test_import_warning_in_package_does_not_cause_internal_error PASSED tests/test_import.py::test_does_not_import_unrelated_packages PASSED tests/test_is_async_test.py::test_returns_false_for_sync_item PASSED tests/test_is_async_test.py::test_returns_true_for_marked_coroutine_item_in_strict_mode PASSED tests/test_is_async_test.py::test_returns_false_for_unmarked_coroutine_item_in_strict_mode PASSED tests/test_is_async_test.py::test_returns_true_for_unmarked_coroutine_item_in_auto_mode PASSED tests/test_multiloop.py::test_event_loop_override PASSED tests/test_port_factories.py::test_unused_tcp_port_selects_unused_port PASSED tests/test_port_factories.py::test_unused_udp_port_selects_unused_port PASSED tests/test_port_factories.py::test_unused_tcp_port_factory_selects_unused_port PASSED tests/test_port_factories.py::test_unused_udp_port_factory_selects_unused_port PASSED tests/test_port_factories.py::test_unused_port_factory_duplicate PASSED tests/test_port_factories.py::test_unused_udp_port_factory_duplicate PASSED tests/test_simple.py::test_event_loop_fixture PASSED tests/test_simple.py::test_asyncio_marker PASSED tests/test_simple.py::test_asyncio_marker_compatibility_with_xfail PASSED tests/test_simple.py::test_asyncio_auto_mode_compatibility_with_xfail PASSED tests/test_simple.py::test_asyncio_marker_with_default_param PASSED tests/test_simple.py::TestMarkerInClassBasedTests::test_asyncio_marker_with_implicit_loop_fixture PASSED tests/test_simple.py::TestEventLoopStartedBeforeFixtures::test_no_event_loop PASSED tests/test_simple.py::TestEventLoopStartedBeforeFixtures::test_event_loop_after_fixture PASSED tests/test_simple.py::TestEventLoopStartedBeforeFixtures::test_event_loop_before_fixture PASSED tests/test_simple.py::test_invalid_asyncio_mode PASSED tests/test_skips.py::test_asyncio_strict_mode_skip PASSED tests/test_skips.py::test_asyncio_auto_mode_skip PASSED tests/test_skips.py::test_asyncio_strict_mode_module_level_skip PASSED tests/test_skips.py::test_asyncio_auto_mode_module_level_skip PASSED tests/test_skips.py::test_asyncio_auto_mode_wrong_skip_usage PASSED tests/test_skips.py::test_unittest_skiptest_compatibility PASSED tests/test_skips.py::test_skip_in_module_does_not_skip_package PASSED tests/test_subprocess.py::test_subprocess PASSED =========================== short test summary info ============================ ======== 196 passed, 6 xfailed ======== py$(PYV): OK congratulations :)