1 py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV)
2 py$(PYV): commands[0]> make test
4 ============================= test session starts ==============================
5 platform sunos5 -- Python $(PYTHON_VERSION).X -- $(PYTHON)
6 cachedir: .tox/py$(PYV)/.pytest_cache
7 hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase(PosixPath('$(@D)/.hypothesis/examples'))
9 configfile: pyproject.toml
10 testpaths: docs, tests
11 asyncio: mode=auto, asyncio_default_fixture_loop_scope=function
12 collecting ... collected 202 items
14 docs/concepts_function_scope_example.py::test_runs_in_a_loop PASSED
15 docs/concepts_module_scope_example.py::test_remember_loop PASSED
16 docs/concepts_module_scope_example.py::test_runs_in_a_loop PASSED
17 docs/how-to-guides/change_fixture_loop_example.py::test_runs_in_module_loop PASSED
18 docs/how-to-guides/class_scoped_loop_example.py::TestInOneEventLoopPerClass::test_remember_loop PASSED
19 docs/how-to-guides/class_scoped_loop_example.py::TestInOneEventLoopPerClass::test_assert_same_loop PASSED
20 docs/how-to-guides/module_scoped_loop_example.py::test_remember_loop PASSED
21 docs/how-to-guides/module_scoped_loop_example.py::test_assert_same_loop PASSED
22 docs/how-to-guides/multiple_loops_example.py::test_uses_custom_event_loop_policy[event_loop_policy0] PASSED
23 docs/how-to-guides/multiple_loops_example.py::test_uses_custom_event_loop_policy[event_loop_policy1] PASSED
24 docs/how-to-guides/test_session_scoped_loop_example.py::test_session_scoped_loop_configuration_works_in_auto_mode PASSED
25 docs/how-to-guides/test_session_scoped_loop_example.py::test_session_scoped_loop_configuration_works_in_strict_mode PASSED
26 docs/reference/fixtures/event_loop_example.py::test_event_loop_fixture PASSED
27 docs/reference/fixtures/event_loop_policy_example.py::test_uses_custom_event_loop_policy PASSED
28 docs/reference/fixtures/event_loop_policy_parametrized_example.py::test_uses_custom_event_loop_policy[event_loop_policy0] PASSED
29 docs/reference/fixtures/event_loop_policy_parametrized_example.py::test_uses_custom_event_loop_policy[event_loop_policy1] PASSED
30 docs/reference/markers/class_scoped_loop_custom_policies_strict_mode_example.py::TestWithDifferentLoopPolicies::test_parametrized_loop[event_loop_policy0] PASSED
31 docs/reference/markers/class_scoped_loop_custom_policies_strict_mode_example.py::TestWithDifferentLoopPolicies::test_parametrized_loop[event_loop_policy1] PASSED
32 docs/reference/markers/class_scoped_loop_strict_mode_example.py::TestClassScopedLoop::test_remember_loop PASSED
33 docs/reference/markers/class_scoped_loop_strict_mode_example.py::TestClassScopedLoop::test_this_runs_in_same_loop PASSED
34 docs/reference/markers/class_scoped_loop_with_fixture_strict_mode_example.py::TestClassScopedLoop::test_runs_is_same_loop_as_fixture PASSED
35 docs/reference/markers/function_scoped_loop_pytestmark_strict_mode_example.py::test_runs_in_asyncio_event_loop PASSED
36 docs/reference/markers/function_scoped_loop_strict_mode_example.py::test_runs_in_asyncio_event_loop PASSED
37 docs/reference/markers/module_scoped_loop_strict_mode_example.py::test_remember_loop PASSED
38 docs/reference/markers/module_scoped_loop_strict_mode_example.py::test_this_runs_in_same_loop PASSED
39 docs/reference/markers/module_scoped_loop_strict_mode_example.py::TestClassA::test_this_runs_in_same_loop PASSED
40 tests/async_fixtures/test_async_fixtures.py::test_async_fixture PASSED
41 tests/async_fixtures/test_async_fixtures.py::TestAsyncFixtureMethod::test_async_fixture_method PASSED
42 tests/async_fixtures/test_async_fixtures_contextvars.py::test_var_from_sync_generator_propagates_to_async PASSED
43 tests/async_fixtures/test_async_fixtures_contextvars.py::test_var_from_async_generator_propagates_to_sync XFAIL
44 tests/async_fixtures/test_async_fixtures_contextvars.py::test_var_from_async_fixture_propagates_to_sync XFAIL
45 tests/async_fixtures/test_async_fixtures_contextvars.py::test_var_from_generator_reset_before_previous_fixture_cleanup XFAIL
46 tests/async_fixtures/test_async_fixtures_contextvars.py::test_var_from_fixture_reset_before_previous_fixture_cleanup XFAIL
47 tests/async_fixtures/test_async_fixtures_contextvars.py::test_var_previous_value_restored_after_fixture XFAIL
48 tests/async_fixtures/test_async_fixtures_contextvars.py::test_var_set_to_existing_value_ok XFAIL
49 tests/async_fixtures/test_async_fixtures_scope.py::test_async_fixture_scope PASSED
50 tests/async_fixtures/test_async_fixtures_with_finalizer.py::test_module_with_event_loop_finalizer PASSED
51 tests/async_fixtures/test_async_fixtures_with_finalizer.py::test_module_with_get_event_loop_finalizer PASSED
52 tests/async_fixtures/test_async_gen_fixtures.py::test_async_gen_fixture PASSED
53 tests/async_fixtures/test_async_gen_fixtures.py::test_async_gen_fixture_finalized PASSED
54 tests/async_fixtures/test_async_gen_fixtures.py::TestAsyncGenFixtureMethod::test_async_gen_fixture_method PASSED
55 tests/async_fixtures/test_nested.py::test_async_fixture PASSED
56 tests/async_fixtures/test_parametrized_loop.py::test_event_loop_parametrization PASSED
57 tests/async_fixtures/test_shared_module_fixture.py::test_asyncio_mark_provides_package_scoped_loop_strict_mode PASSED
58 tests/hypothesis/test_base.py::test_hypothesis_given_decorator_before_asyncio_mark PASSED
59 tests/hypothesis/test_base.py::test_mark_outer PASSED
60 tests/hypothesis/test_base.py::test_mark_and_parametrize[1] PASSED
61 tests/hypothesis/test_base.py::test_mark_and_parametrize[2] PASSED
62 tests/hypothesis/test_base.py::test_can_use_explicit_event_loop_fixture PASSED
63 tests/hypothesis/test_base.py::test_async_auto_marked PASSED
64 tests/hypothesis/test_base.py::test_sync_not_auto_marked PASSED
65 tests/loop_fixture_scope/test_loop_fixture_scope.py::test_for_custom_loop PASSED
66 tests/loop_fixture_scope/test_loop_fixture_scope.py::test_dependent_fixture PASSED
67 tests/markers/test_class_scope.py::TestPyTestMark::test_is_asyncio PASSED
68 tests/markers/test_class_scope.py::test_asyncio_mark_provides_class_scoped_loop_when_applied_to_functions PASSED
69 tests/markers/test_class_scope.py::test_asyncio_mark_provides_class_scoped_loop_when_applied_to_class PASSED
70 tests/markers/test_class_scope.py::test_asyncio_mark_raises_when_class_scoped_is_request_without_class PASSED
71 tests/markers/test_class_scope.py::test_asyncio_mark_is_inherited_to_subclasses PASSED
72 tests/markers/test_class_scope.py::test_asyncio_mark_respects_the_loop_policy PASSED
73 tests/markers/test_class_scope.py::test_asyncio_mark_respects_parametrized_loop_policies PASSED
74 tests/markers/test_class_scope.py::test_asyncio_mark_provides_class_scoped_loop_to_fixtures PASSED
75 tests/markers/test_class_scope.py::test_asyncio_mark_allows_combining_class_scoped_fixture_with_function_scoped_test PASSED
76 tests/markers/test_class_scope.py::test_asyncio_mark_handles_missing_event_loop_triggered_by_fixture PASSED
77 tests/markers/test_class_scope.py::test_standalone_test_does_not_trigger_warning_about_no_current_event_loop_being_set PASSED
78 tests/markers/test_function_scope.py::test_asyncio_mark_provides_function_scoped_loop_strict_mode PASSED
79 tests/markers/test_function_scope.py::test_loop_scope_function_provides_function_scoped_event_loop PASSED
80 tests/markers/test_function_scope.py::test_raises_when_scope_and_loop_scope_arguments_are_present PASSED
81 tests/markers/test_function_scope.py::test_warns_when_scope_argument_is_present PASSED
82 tests/markers/test_function_scope.py::test_function_scope_supports_explicit_event_loop_fixture_request PASSED
83 tests/markers/test_function_scope.py::test_asyncio_mark_respects_the_loop_policy PASSED
84 tests/markers/test_function_scope.py::test_asyncio_mark_respects_parametrized_loop_policies PASSED
85 tests/markers/test_function_scope.py::test_asyncio_mark_provides_function_scoped_loop_to_fixtures PASSED
86 tests/markers/test_function_scope.py::test_asyncio_mark_handles_missing_event_loop_triggered_by_fixture PASSED
87 tests/markers/test_function_scope.py::test_standalone_test_does_not_trigger_warning_about_no_current_event_loop_being_set PASSED
88 tests/markers/test_function_scope.py::test_asyncio_mark_does_not_duplicate_other_marks_in_auto_mode PASSED
89 tests/markers/test_invalid_arguments.py::test_no_error_when_scope_passed_as_sole_keyword_argument PASSED
90 tests/markers/test_invalid_arguments.py::test_error_when_scope_passed_as_positional_argument PASSED
91 tests/markers/test_invalid_arguments.py::test_error_when_wrong_keyword_argument_is_passed PASSED
92 tests/markers/test_invalid_arguments.py::test_error_when_additional_keyword_arguments_are_passed PASSED
93 tests/markers/test_module_scope.py::test_asyncio_mark_works_on_module_level PASSED
94 tests/markers/test_module_scope.py::test_asyncio_mark_provides_module_scoped_loop_strict_mode PASSED
95 tests/markers/test_module_scope.py::test_raise_when_event_loop_fixture_is_requested_in_addition_to_scoped_loop PASSED
96 tests/markers/test_module_scope.py::test_asyncio_mark_respects_the_loop_policy PASSED
97 tests/markers/test_module_scope.py::test_asyncio_mark_respects_parametrized_loop_policies PASSED
98 tests/markers/test_module_scope.py::test_asyncio_mark_provides_module_scoped_loop_to_fixtures PASSED
99 tests/markers/test_module_scope.py::test_asyncio_mark_allows_combining_module_scoped_fixture_with_class_scoped_test PASSED
100 tests/markers/test_module_scope.py::test_asyncio_mark_allows_combining_module_scoped_fixture_with_function_scoped_test PASSED
101 tests/markers/test_module_scope.py::test_allows_combining_module_scoped_asyncgen_fixture_with_function_scoped_test PASSED
102 tests/markers/test_module_scope.py::test_asyncio_mark_handles_missing_event_loop_triggered_by_fixture PASSED
103 tests/markers/test_module_scope.py::test_standalone_test_does_not_trigger_warning_about_no_current_event_loop_being_set PASSED
104 tests/markers/test_package_scope.py::test_asyncio_mark_provides_package_scoped_loop_strict_mode PASSED
105 tests/markers/test_package_scope.py::test_raise_when_event_loop_fixture_is_requested_in_addition_to_scoped_loop PASSED
106 tests/markers/test_package_scope.py::test_asyncio_mark_respects_the_loop_policy PASSED
107 tests/markers/test_package_scope.py::test_asyncio_mark_respects_parametrized_loop_policies PASSED
108 tests/markers/test_package_scope.py::test_asyncio_mark_provides_package_scoped_loop_to_fixtures PASSED
109 tests/markers/test_package_scope.py::test_asyncio_mark_allows_combining_package_scoped_fixture_with_module_scoped_test PASSED
110 tests/markers/test_package_scope.py::test_asyncio_mark_allows_combining_package_scoped_fixture_with_class_scoped_test PASSED
111 tests/markers/test_package_scope.py::test_asyncio_mark_allows_combining_package_scoped_fixture_with_function_scoped_test PASSED
112 tests/markers/test_package_scope.py::test_asyncio_mark_handles_missing_event_loop_triggered_by_fixture PASSED
113 tests/markers/test_package_scope.py::test_standalone_test_does_not_trigger_warning_about_no_current_event_loop_being_set PASSED
114 tests/markers/test_session_scope.py::test_asyncio_mark_provides_session_scoped_loop_strict_mode PASSED
115 tests/markers/test_session_scope.py::test_raise_when_event_loop_fixture_is_requested_in_addition_to_scoped_loop PASSED
116 tests/markers/test_session_scope.py::test_asyncio_mark_respects_the_loop_policy PASSED
117 tests/markers/test_session_scope.py::test_asyncio_mark_respects_parametrized_loop_policies PASSED
118 tests/markers/test_session_scope.py::test_asyncio_mark_provides_session_scoped_loop_to_fixtures PASSED
119 tests/markers/test_session_scope.py::test_asyncio_mark_allows_combining_session_scoped_fixture_with_package_scoped_test PASSED
120 tests/markers/test_session_scope.py::test_asyncio_mark_allows_combining_session_scoped_fixture_with_module_scoped_test PASSED
121 tests/markers/test_session_scope.py::test_asyncio_mark_allows_combining_session_scoped_fixture_with_class_scoped_test PASSED
122 tests/markers/test_session_scope.py::test_asyncio_mark_allows_combining_session_scoped_fixture_with_function_scoped_test PASSED
123 tests/markers/test_session_scope.py::test_allows_combining_session_scoped_asyncgen_fixture_with_function_scoped_test PASSED
124 tests/markers/test_session_scope.py::test_asyncio_mark_handles_missing_event_loop_triggered_by_fixture PASSED
125 tests/markers/test_session_scope.py::test_standalone_test_does_not_trigger_warning_about_no_current_event_loop_being_set PASSED
126 tests/modes/test_auto_mode.py::test_auto_mode_cmdline PASSED
127 tests/modes/test_auto_mode.py::test_auto_mode_cfg PASSED
128 tests/modes/test_auto_mode.py::test_auto_mode_async_fixture PASSED
129 tests/modes/test_auto_mode.py::test_auto_mode_method_fixture PASSED
130 tests/modes/test_auto_mode.py::test_auto_mode_static_method PASSED
131 tests/modes/test_auto_mode.py::test_auto_mode_static_method_fixture PASSED
132 tests/modes/test_strict_mode.py::test_strict_mode_cmdline PASSED
133 tests/modes/test_strict_mode.py::test_strict_mode_cfg PASSED
134 tests/modes/test_strict_mode.py::test_strict_mode_method_fixture PASSED
135 tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_coroutine PASSED
136 tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_fixture PASSED
137 tests/modes/test_strict_mode.py::test_strict_mode_marked_test_unmarked_fixture_warning PASSED
138 tests/modes/test_strict_mode.py::test_strict_mode_marked_test_unmarked_autouse_fixture_warning PASSED
139 tests/test_asyncio_fixture.py::test_bare_fixture PASSED
140 tests/test_asyncio_fixture.py::test_fixture_with_name PASSED
141 tests/test_asyncio_fixture.py::test_fixture_with_params[2] PASSED
142 tests/test_asyncio_fixture.py::test_fixture_with_params[4] PASSED
143 tests/test_asyncio_fixture.py::test_sync_function_uses_async_fixture[auto] PASSED
144 tests/test_asyncio_fixture.py::test_sync_function_uses_async_fixture[strict] PASSED
145 tests/test_asyncio_mark.py::test_asyncio_mark_on_sync_function_emits_warning PASSED
146 tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_function_emits_warning_in_strict_mode PASSED
147 tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_function_emits_warning_in_auto_mode PASSED
148 tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_method_emits_warning_in_strict_mode PASSED
149 tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_method_emits_warning_in_auto_mode PASSED
150 tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_staticmethod_emits_warning_in_strict_mode PASSED
151 tests/test_asyncio_mark.py::test_asyncio_mark_on_async_generator_staticmethod_emits_warning_in_auto_mode PASSED
152 tests/test_dependent_fixtures.py::test_dependent_fixture PASSED
153 tests/test_dependent_fixtures.py::test_factory_involving_factories PASSED
154 tests/test_doctest.py::test_plugin_does_not_interfere_with_doctest_collection PASSED
155 tests/test_doctest.py::test_plugin_does_not_interfere_with_doctest_textfile_collection PASSED
156 tests/test_event_loop_fixture.py::test_event_loop_fixture_respects_event_loop_policy PASSED
157 tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_returns_fresh_loop_after_test PASSED
158 tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_handles_loop_set_to_none_sync PASSED
159 tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_handles_loop_set_to_none_async_without_fixture PASSED
160 tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_handles_loop_set_to_none_async_with_fixture PASSED
161 tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_fixture_leaves_loop_unclosed PASSED
162 tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_test_leaves_loop_unclosed PASSED
163 tests/test_event_loop_fixture_override_deprecation.py::test_emit_warning_when_event_loop_fixture_is_redefined PASSED
164 tests/test_event_loop_fixture_override_deprecation.py::test_emit_warning_when_event_loop_fixture_is_redefined_explicit_request PASSED
165 tests/test_event_loop_fixture_override_deprecation.py::test_does_not_emit_warning_when_no_test_uses_the_event_loop_fixture PASSED
166 tests/test_event_loop_fixture_override_deprecation.py::test_emit_warning_when_redefined_event_loop_is_used_by_fixture PASSED
167 tests/test_explicit_event_loop_fixture_request.py::test_emit_warning_when_event_loop_is_explicitly_requested_in_coroutine PASSED
168 tests/test_explicit_event_loop_fixture_request.py::test_emit_warning_when_event_loop_is_explicitly_requested_in_coroutine_method PASSED
169 tests/test_explicit_event_loop_fixture_request.py::test_emit_warning_when_event_loop_is_explicitly_requested_in_coroutine_staticmethod PASSED
170 tests/test_explicit_event_loop_fixture_request.py::test_emit_warning_when_event_loop_is_explicitly_requested_in_coroutine_fixture PASSED
171 tests/test_explicit_event_loop_fixture_request.py::test_emit_warning_when_event_loop_is_explicitly_requested_in_async_gen_fixture PASSED
172 tests/test_explicit_event_loop_fixture_request.py::test_does_not_emit_warning_when_event_loop_is_explicitly_requested_in_sync_function PASSED
173 tests/test_explicit_event_loop_fixture_request.py::test_does_not_emit_warning_when_event_loop_is_explicitly_requested_in_sync_fixture PASSED
174 tests/test_fixture_loop_scopes.py::test_loop_scope_session_is_independent_of_fixture_scope[session] PASSED
175 tests/test_fixture_loop_scopes.py::test_loop_scope_session_is_independent_of_fixture_scope[package] PASSED
176 tests/test_fixture_loop_scopes.py::test_loop_scope_session_is_independent_of_fixture_scope[module] PASSED
177 tests/test_fixture_loop_scopes.py::test_loop_scope_session_is_independent_of_fixture_scope[class] PASSED
178 tests/test_fixture_loop_scopes.py::test_loop_scope_session_is_independent_of_fixture_scope[function] PASSED
179 tests/test_fixture_loop_scopes.py::test_default_loop_scope_config_option_changes_fixture_loop_scope[function] PASSED
180 tests/test_fixture_loop_scopes.py::test_default_loop_scope_config_option_changes_fixture_loop_scope[module] PASSED
181 tests/test_fixture_loop_scopes.py::test_default_loop_scope_config_option_changes_fixture_loop_scope[session] PASSED
182 tests/test_fixture_loop_scopes.py::test_default_class_loop_scope_config_option_changes_fixture_loop_scope PASSED
183 tests/test_fixture_loop_scopes.py::test_default_package_loop_scope_config_option_changes_fixture_loop_scope PASSED
184 tests/test_import.py::test_import_warning_does_not_cause_internal_error PASSED
185 tests/test_import.py::test_import_warning_in_package_does_not_cause_internal_error PASSED
186 tests/test_import.py::test_does_not_import_unrelated_packages PASSED
187 tests/test_is_async_test.py::test_returns_false_for_sync_item PASSED
188 tests/test_is_async_test.py::test_returns_true_for_marked_coroutine_item_in_strict_mode PASSED
189 tests/test_is_async_test.py::test_returns_false_for_unmarked_coroutine_item_in_strict_mode PASSED
190 tests/test_is_async_test.py::test_returns_true_for_unmarked_coroutine_item_in_auto_mode PASSED
191 tests/test_multiloop.py::test_event_loop_override PASSED
192 tests/test_port_factories.py::test_unused_tcp_port_selects_unused_port PASSED
193 tests/test_port_factories.py::test_unused_udp_port_selects_unused_port PASSED
194 tests/test_port_factories.py::test_unused_tcp_port_factory_selects_unused_port PASSED
195 tests/test_port_factories.py::test_unused_udp_port_factory_selects_unused_port PASSED
196 tests/test_port_factories.py::test_unused_port_factory_duplicate PASSED
197 tests/test_port_factories.py::test_unused_udp_port_factory_duplicate PASSED
198 tests/test_simple.py::test_event_loop_fixture PASSED
199 tests/test_simple.py::test_asyncio_marker PASSED
200 tests/test_simple.py::test_asyncio_marker_compatibility_with_xfail PASSED
201 tests/test_simple.py::test_asyncio_auto_mode_compatibility_with_xfail PASSED
202 tests/test_simple.py::test_asyncio_marker_with_default_param PASSED
203 tests/test_simple.py::TestMarkerInClassBasedTests::test_asyncio_marker_with_implicit_loop_fixture PASSED
204 tests/test_simple.py::TestEventLoopStartedBeforeFixtures::test_no_event_loop PASSED
205 tests/test_simple.py::TestEventLoopStartedBeforeFixtures::test_event_loop_after_fixture PASSED
206 tests/test_simple.py::TestEventLoopStartedBeforeFixtures::test_event_loop_before_fixture PASSED
207 tests/test_simple.py::test_invalid_asyncio_mode PASSED
208 tests/test_skips.py::test_asyncio_strict_mode_skip PASSED
209 tests/test_skips.py::test_asyncio_auto_mode_skip PASSED
210 tests/test_skips.py::test_asyncio_strict_mode_module_level_skip PASSED
211 tests/test_skips.py::test_asyncio_auto_mode_module_level_skip PASSED
212 tests/test_skips.py::test_asyncio_auto_mode_wrong_skip_usage PASSED
213 tests/test_skips.py::test_unittest_skiptest_compatibility PASSED
214 tests/test_skips.py::test_skip_in_module_does_not_skip_package PASSED
215 tests/test_subprocess.py::test_subprocess PASSED
217 =========================== short test summary info ============================
218 ======== 196 passed, 6 xfailed ========