--- Begin Message ---
Source: python-asynctest
Version: 0.13.0-4
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200321 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> python3 -m unittest --verbose test
> test_exhaust_callbacks_cascading_callbacks (test.test_helpers.TestExhaust)
> ... /<<PKGBUILDDIR>>/test/test_helpers.py:12: DeprecationWarning: The loop
> argument is deprecated since Python 3.8, and scheduled for removal in Python
> 3.10.
> return (yield from asyncio.wait_for(coro, loop=self.loop, timeout=1))
> ok
> test_exhaust_callbacks_nothing_to_wait (test.test_helpers.TestExhaust) ... ok
> test_exhaust_callbacks_one_callback (test.test_helpers.TestExhaust) ... ok
> test_CoroutineMock_inherits_from_Mock
> (test.test_mock.TestMockInheritanceModel) ... ok
> test_MagicMock_inherits_from_Mock (test.test_mock.TestMockInheritanceModel)
> ... ok
> test_MagicMock_is_not_CoroutineMock (test.test_mock.TestMockInheritanceModel)
> ... ok
> test_Mock_inherits_from_NonCallableMock
> (test.test_mock.TestMockInheritanceModel) ... ok
> test_Mock_is_not_CoroutineMock (test.test_mock.TestMockInheritanceModel) ...
> ok
> test_NonCallableMagicMock_inherits_from_NonCallableMock
> (test.test_mock.TestMockInheritanceModel) ... ok
> test_advance (test.test_case.Test_ClockedTestCase) ... ok
> test_advance_with_run_until_complete (test.test_case.Test_ClockedTestCase)
> ... ok
> test_callbacks_are_called_on_time (test.test_case.Test_ClockedTestCase) ... ok
> test_negative_advance (test.test_case.Test_ClockedTestCase) ... ok
> test_setUp (test.test_case.Test_ClockedTestCase_async_setUp) ... ok
> test_setUp (test.test_case.Test_ClockedTestCase_setUp) ... ok
> test_asyncio_iscoroutinefunction (test.test_mock.Test_CoroutineMock) ... ok
> test_called_CoroutineMock_returns_MagicMock
> (test.test_mock.Test_CoroutineMock) ...
> /<<PKGBUILDDIR>>/asynctest/mock.py:599: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def proxy():
> ok
> test_exception_side_effect_raises_in_coroutine
> (test.test_mock.Test_CoroutineMock) ...
> /<<PKGBUILDDIR>>/asynctest/mock.py:594: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> result = asyncio.coroutine(_raise)(e)
> ok
> test_mock_has_correct_name (test.test_mock.Test_CoroutineMock) ... ok
> test_mock_returns_coroutine_according_to_spec
> (test.test_mock.Test_CoroutineMock) ... ok
> test_returns_coroutine (test.test_mock.Test_CoroutineMock) ... ok
> test_returns_coroutine_from_return_value (test.test_mock.Test_CoroutineMock)
> ... ok
> test_returns_coroutine_from_side_effect (test.test_mock.Test_CoroutineMock)
> ... ok
> test_returns_coroutine_from_side_effect_being_a_coroutine
> (test.test_mock.Test_CoroutineMock) ...
> /<<PKGBUILDDIR>>/test/test_mock.py:176: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> mock.side_effect = asyncio.coroutine(lambda: 'ProbeValue')
> ok
> test_returns_coroutine_from_side_effect_being_an_iterable
> (test.test_mock.Test_CoroutineMock) ... ok
> test_returns_coroutine_with_return_value_being_a_coroutine
> (test.test_mock.Test_CoroutineMock) ...
> /<<PKGBUILDDIR>>/test/test_mock.py:163: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> coroutine = asyncio.coroutine(lambda: 'ProbeValue')
> ok
> test_assert_any_wait (test.test_mock.Test_CoroutineMock_awaited) ... ok
> test_assert_awaited (test.test_mock.Test_CoroutineMock_awaited) ... ok
> test_assert_awaited_once (test.test_mock.Test_CoroutineMock_awaited) ... ok
> test_assert_awaited_once_with (test.test_mock.Test_CoroutineMock_awaited) ...
> ok
> test_assert_awaited_with (test.test_mock.Test_CoroutineMock_awaited) ... ok
> test_assert_has_awaits (test.test_mock.Test_CoroutineMock_awaited) ... ok
> test_assert_not_awaited (test.test_mock.Test_CoroutineMock_awaited) ... ok
> test_await_args (test.test_mock.Test_CoroutineMock_awaited) ... ok
> test_await_args_list (test.test_mock.Test_CoroutineMock_awaited) ... ok
> test_awaited_CoroutineMock_counts (test.test_mock.Test_CoroutineMock_awaited)
> ... /<<PKGBUILDDIR>>/test/test_mock.py:550: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def side_effect():
> ok
> test_awaited_CoroutineMock_sets_awaited
> (test.test_mock.Test_CoroutineMock_awaited) ...
> /<<PKGBUILDDIR>>/test/test_mock.py:531: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def side_effect():
> ok
> test_awaited_delays_creation_of_condition
> (test.test_mock.Test_CoroutineMock_awaited) ... ok
> test_awaited_from_autospec_mock (test.test_mock.Test_CoroutineMock_awaited)
> ... FAIL
> test_awaited_wait (test.test_mock.Test_CoroutineMock_awaited) ... ok
> test_awaited_wait_next (test.test_mock.Test_CoroutineMock_awaited) ... ok
> test_create_autospec_on_coroutine_and_using_assert_methods
> (test.test_mock.Test_CoroutineMock_awaited) ... FAIL
> test_init_increments_value (test.test_selector.Test_FileDescriptor) ... ok
> test_init_increments_value_with_fixed_value
> (test.test_selector.Test_FileDescriptor) ... ok
> test_is_an_int (test.test_selector.Test_FileDescriptor) ... ok
> test_fileno_returns_FileDescriptor (test.test_selector.Test_FileMock) ... ok
> test_context_manager_raise_exception_by_default
> (test.test_mock.Test_MagicMock) ... ok
> test_mock_a_future_is_a_future (test.test_mock.Test_MagicMock) ... ok
> test_mock_aiter_and_anext (test.test_mock.Test_MagicMock) ... ok
> test_mock_async_for (test.test_mock.Test_MagicMock) ... ok
> test_mock_customize_async_context_manager (test.test_mock.Test_MagicMock) ...
> /<<PKGBUILDDIR>>/asynctest/mock.py:599: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def proxy():
> ok
> test_mock_customize_async_context_manager_with_coroutine
> (test.test_mock.Test_MagicMock) ... ok
> test_mock_from_create_future (test.test_mock.Test_MagicMock) ... ok
> test_mock_has_correct_name (test.test_mock.Test_MagicMock) ... ok
> test_mock_is_not_coroutine_when_spec_is_function
> (test.test_mock.Test_MagicMock) ... ok
> test_mock_magic_methods_are_coroutine_mocks (test.test_mock.Test_MagicMock)
> ... ok
> test_mock_returns_coroutine_according_to_spec (test.test_mock.Test_MagicMock)
> ... ok
> test_mock_supports_async_context_manager (test.test_mock.Test_MagicMock) ...
> ok
> test_subclass (test.test_mock.Test_MagicMock) ... ok
> test_mock_a_future_is_a_future (test.test_mock.Test_Mock) ... ok
> test_mock_from_create_future (test.test_mock.Test_Mock) ... ok
> test_mock_has_correct_name (test.test_mock.Test_Mock) ... ok
> test_mock_is_not_coroutine_when_spec_is_function (test.test_mock.Test_Mock)
> ... ok
> test_mock_returns_coroutine_according_to_spec (test.test_mock.Test_Mock) ...
> ok
> test_subclass (test.test_mock.Test_Mock) ... ok
> test_asyncio_iscoroutinefunction (test.test_mock.Test_NonCallabableMock) ...
> ok
> test_is_coroutine_property (test.test_mock.Test_NonCallabableMock) ... ok
> test_mock_a_future_is_a_future (test.test_mock.Test_NonCallabableMock) ... ok
> test_mock_from_create_future (test.test_mock.Test_NonCallabableMock) ... ok
> test_mock_has_correct_name (test.test_mock.Test_NonCallabableMock) ... ok
> test_mock_is_not_coroutine_when_spec_is_function
> (test.test_mock.Test_NonCallabableMock) ... ok
> test_mock_returns_coroutine_according_to_spec
> (test.test_mock.Test_NonCallabableMock) ... ok
> test_subclass (test.test_mock.Test_NonCallabableMock) ... ok
> test_asyncio_iscoroutinefunction (test.test_mock.Test_NonCallableMagicMock)
> ... ok
> test_context_manager_raise_exception_by_default
> (test.test_mock.Test_NonCallableMagicMock) ... ok
> test_is_coroutine_property (test.test_mock.Test_NonCallableMagicMock) ... ok
> test_mock_a_future_is_a_future (test.test_mock.Test_NonCallableMagicMock) ...
> ok
> test_mock_aiter_and_anext (test.test_mock.Test_NonCallableMagicMock) ... ok
> test_mock_async_for (test.test_mock.Test_NonCallableMagicMock) ... ok
> test_mock_customize_async_context_manager
> (test.test_mock.Test_NonCallableMagicMock) ...
> /<<PKGBUILDDIR>>/asynctest/mock.py:599: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def proxy():
> ok
> test_mock_customize_async_context_manager_with_coroutine
> (test.test_mock.Test_NonCallableMagicMock) ... ok
> test_mock_from_create_future (test.test_mock.Test_NonCallableMagicMock) ... ok
> test_mock_has_correct_name (test.test_mock.Test_NonCallableMagicMock) ... ok
> test_mock_is_not_coroutine_when_spec_is_function
> (test.test_mock.Test_NonCallableMagicMock) ... ok
> test_mock_magic_methods_are_coroutine_mocks
> (test.test_mock.Test_NonCallableMagicMock) ... ok
> test_mock_returns_coroutine_according_to_spec
> (test.test_mock.Test_NonCallableMagicMock) ... ok
> test_mock_supports_async_context_manager
> (test.test_mock.Test_NonCallableMagicMock) ... ok
> test_subclass (test.test_mock.Test_NonCallableMagicMock) ... ok
> test_is_ssl_socket (test.test_selector.Test_SSLSocketMock) ... ok
> test_is_socket (test.test_selector.Test_SocketMock) ... ok
> test_cleanup_functions_can_be_coroutines (test.test_case.Test_TestCase) ...
> /<<PKGBUILDDIR>>/test/test_case.py:320: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def cleanup_coro():
> ok
> test_coroutine_returned_executed (test.test_case.Test_TestCase) ...
> /<<PKGBUILDDIR>>/test/test_case.py:236: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def set_ran(self):
> ok
> test_coroutinefunction_executed (test.test_case.Test_TestCase) ...
> /<<PKGBUILDDIR>>/test/test_case.py:213: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def runTest(self):
> ok
> test_default_loop_is_not_created_when_unused (test.test_case.Test_TestCase)
> ... ok
> test_fails_when_future_has_scheduled_calls (test.test_case.Test_TestCase) ...
> ok
> test_forbid_get_event_loop (test.test_case.Test_TestCase) ... ok
> test_init_and_close_loop_for_test (test.test_case.Test_TestCase) ... ok
> test_loop_uses_TestSelector (test.test_case.Test_TestCase) ... ok
> test_setup_teardown_may_be_coroutines (test.test_case.Test_TestCase) ...
> /<<PKGBUILDDIR>>/test/test_case.py:283: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def setUp(self):
> ok
> test_update_default_loop_works (test.test_case.Test_TestCase) ... ok
> test_use_default_loop (test.test_case.Test_TestCase) ... ok
> test_original_watcher_works_outside_loop
> (test.test_case.Test_TestCase_and_ChildWatcher) ...
> /<<PKGBUILDDIR>>/test/test_case.py:45: DeprecationWarning: The loop argument
> is deprecated since Python 3.8 and scheduled for removal in Python 3.10.
> process = yield from asyncio.create_subprocess_shell(
> /<<PKGBUILDDIR>>/test/test_case.py:50: DeprecationWarning: The loop argument
> is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
> out, err = yield from asyncio.wait_for(
> ok
> test_watched_process_is_awaited
> (test.test_case.Test_TestCase_and_ChildWatcher) ... ok
> test_close (test.test_selector.Test_TestSelector) ... ok
> test_modify_but_selector_raises (test.test_selector.Test_TestSelector) ... ok
> test_modify_fd (test.test_selector.Test_TestSelector) ... ok
> test_modify_fileno (test.test_selector.Test_TestSelector) ... ok
> test_modify_mock (test.test_selector.Test_TestSelector) ... ok
> test_register_fileno (test.test_selector.Test_TestSelector) ... ok
> test_register_mock (test.test_selector.Test_TestSelector) ... ok
> test_select (test.test_selector.Test_TestSelector) ... ok
> test_unregister_fileno (test.test_selector.Test_TestSelector) ... ok
> test_unregister_mock (test.test_selector.Test_TestSelector) ... ok
> test_assertAsyncRaises (test.test_case.Test_assertAsyncRaises) ... ok
> test_assertAsyncRaisesRegex (test.test_case.Test_assertAsyncRaises) ... ok
> test_assertAsyncWarns (test.test_case.Test_assertAsyncWarns) ... ok
> test_assertAsyncWarnsRegex (test.test_case.Test_assertAsyncWarns) ... ok
> test_autospec_attributes_being_coroutine_functions
> (test.test_mock.Test_create_autospec) ... ok
> test_autospec_of_coroutine_function_is_coroutinefunction
> (test.test_mock.Test_create_autospec) ... ok
> test_autospec_returns_asynctest_mocks (test.test_mock.Test_create_autospec)
> ... ok
> test_create_autospec_on_coroutine_with_coroutine_side_effect
> (test.test_mock.Test_create_autospec) ...
> /<<PKGBUILDDIR>>/test/test_mock.py:2175: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> a_coroutine, side_effect=asyncio.coroutine(lambda r: r))
> /<<PKGBUILDDIR>>/asynctest/mock.py:599: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def proxy():
> ok
> test_create_autospec_on_coroutine_with_exception_side_effect
> (test.test_mock.Test_create_autospec) ... ok
> test_create_autospec_on_coroutine_with_instance_raises_RuntimeError
> (test.test_mock.Test_create_autospec) ... ok
> test_create_autospec_on_coroutine_with_iterable_side_effect
> (test.test_mock.Test_create_autospec) ... ok
> test_create_autospec_on_coroutine_with_return_value
> (test.test_mock.Test_create_autospec) ... ok
> test_generator_and_coroutine_is_instance_of_FunctionType
> (test.test_mock.Test_create_autospec) ... ok
> test_mock_add_spec_on_mock_created_with_autospec
> (test.test_mock.Test_create_autospec) ... ok
> test_mock_add_spec_on_mock_with_magics (test.test_mock.Test_create_autospec)
> ... ok
> test_before_test_called_before_user_setup (test.test_case.Test_fail_on) ... ok
> test_before_test_called_for_enabled_checks_only (test.test_case.Test_fail_on)
> ... ok
> test_check_after_tearDown (test.test_case.Test_fail_on) ... ok
> test_checks_on_decorated_class (test.test_case.Test_fail_on) ... ok
> test_default_checks (test.test_case.Test_fail_on) ... ok
> test_non_existing_before_test_wont_fail (test.test_case.Test_fail_on) ... ok
> test_events_watched_outside_test_are_ignored
> (test.test_selector.Test_fail_on_active_selector_callbacks) ... skipped
> 'unreliable'
> test_fail_on_active_selector_callbacks_on_mock_files
> (test.test_selector.Test_fail_on_active_selector_callbacks) ... ok
> test_fail_on_original_selector_callback
> (test.test_selector.Test_fail_on_active_selector_callbacks) ... ok
> test_passes_when_no_callbacks_left
> (test.test_selector.Test_fail_on_active_selector_callbacks) ... ok
> test_passes_without_callbacks_set
> (test.test_selector.Test_fail_on_active_selector_callbacks) ... ok
> test_check_arguments (test.test_case.Test_fail_on_decorator) ... ok
> test_decorate_class (test.test_case.Test_fail_on_decorator) ... ok
> test_decorate_method (test.test_case.Test_fail_on_decorator) ... ok
> test_decorate_subclass_doesnt_affect_base_class
> (test.test_case.Test_fail_on_decorator) ... ok
> test_decorate_subclass_inherits_parent_params
> (test.test_case.Test_fail_on_decorator) ... ok
> test_lenient_decorator (test.test_case.Test_fail_on_decorator) ... ok
> test_strict_decorator (test.test_case.Test_fail_on_decorator) ... ok
> test_fails_when_loop_didnt_run (test.test_case.Test_fail_on_unused_loop) ...
> ok
> test_fails_when_loop_didnt_run_using_default_loop
> (test.test_case.Test_fail_on_unused_loop) ... ok
> test_fails_when_loop_ran_only_during_cleanup
> (test.test_case.Test_fail_on_unused_loop) ...
> /<<PKGBUILDDIR>>/test/test_case.py:848: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> self.addCleanup(asyncio.coroutine(lambda: None))
> ok
> test_fails_when_loop_ran_only_during_setup
> (test.test_case.Test_fail_on_unused_loop) ... ok
> test_passes_when_ignore_loop_or_loop_run
> (test.test_case.Test_fail_on_unused_loop) ...
> /<<PKGBUILDDIR>>/test/test_case.py:800: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def runTest(self):
> ok
> test_MagicMock_returned_by_default (test.test_mock.Test_mock_open) ... ok
> test_patch_as_context_manager_uses_CoroutineMock_on_async_classmethod_coroutine_function
> (test.test_mock.Test_patch) ... ok
> test_patch_as_context_manager_uses_CoroutineMock_on_async_coroutine_function
> (test.test_mock.Test_patch) ... ok
> test_patch_as_context_manager_uses_CoroutineMock_on_async_staticmethod_coroutine_function
> (test.test_mock.Test_patch) ... ok
> test_patch_as_context_manager_uses_CoroutineMock_on_classmethod_coroutine_function
> (test.test_mock.Test_patch) ... ok
> test_patch_as_context_manager_uses_CoroutineMock_on_coroutine_function
> (test.test_mock.Test_patch) ... ok
> test_patch_as_context_manager_uses_CoroutineMock_on_staticmethod_coroutine_function
> (test.test_mock.Test_patch) ... ok
> test_patch_as_context_manager_uses_MagicMock (test.test_mock.Test_patch) ...
> ok
> test_patch_as_decorator_uses_CoroutineMock_on_async_classmethod_coroutine_function
> (test.test_mock.Test_patch) ... ok
> test_patch_as_decorator_uses_CoroutineMock_on_async_coroutine_function
> (test.test_mock.Test_patch) ... ok
> test_patch_as_decorator_uses_CoroutineMock_on_async_staticmethod_coroutine_function
> (test.test_mock.Test_patch) ... ok
> test_patch_as_decorator_uses_CoroutineMock_on_classmethod_coroutine_function
> (test.test_mock.Test_patch) ... ok
> test_patch_as_decorator_uses_CoroutineMock_on_coroutine_function
> (test.test_mock.Test_patch) ... ok
> test_patch_as_decorator_uses_CoroutineMock_on_staticmethod_coroutine_function
> (test.test_mock.Test_patch) ... ok
> test_patch_as_decorator_uses_MagicMock (test.test_mock.Test_patch) ... ok
> test_patch_is_enabled_when_running_decorated_coroutine
> (test.test_mock.Test_patch) ... /<<PKGBUILDDIR>>/test/test_mock.py:971:
> DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8,
> use "async def" instead
> def a_coroutine():
> /<<PKGBUILDDIR>>/asynctest/mock.py:1001: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> patched = asyncio.coroutine(patched)
> ok
> test_patch_is_enabled_when_running_decorated_function
> (test.test_mock.Test_patch) ... ok
> test_both_patch_and_patch_dict_with_scope_global
> (test.test_mock.Test_patch_and_patch_dict_scope) ...
> /<<PKGBUILDDIR>>/test/test_mock.py:1574: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def a_coroutine():
> /<<PKGBUILDDIR>>/test/test_mock.py:1583: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def a_coroutine():
> ok
> test_both_patch_and_patch_dict_with_scope_limited
> (test.test_mock.Test_patch_and_patch_dict_scope) ... ok
> test_autospec_coroutine (test.test_mock.Test_patch_autospec) ... ok
> test_patch_autospec_with_patches_on_top (test.test_mock.Test_patch_autospec)
> ... ok
> test_patch_autospec_with_patches_under (test.test_mock.Test_patch_autospec)
> ... ok
> test_patch_multiple_autospec (test.test_mock.Test_patch_autospec) ... ok
> test_patch_object_autospec (test.test_mock.Test_patch_autospec) ... ok
> test_coroutine_arg_is_default_mock
> (test.test_mock.Test_patch_decorator_coroutine_or_generator) ...
> /<<PKGBUILDDIR>>/test/test_mock.py:1043: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def tester(coroutine_function):
> ok
> test_coroutine_type_when_patched
> (test.test_mock.Test_patch_decorator_coroutine_or_generator) ... ok
> test_generator_arg_is_default_mock
> (test.test_mock.Test_patch_decorator_coroutine_or_generator) ... ok
> test_default_scope_is_global
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope) ... ok
> test_patch_coroutine_with_multiple_scopes
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope) ...
> /<<PKGBUILDDIR>>/test/test_mock.py:1677: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def tester(coro_function):
> test_patch_generator_with_multiple_scopes
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope) ... ok
> test_deactivate_patch_when_generator_exec_fails
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope_GLOBAL) ...
> /<<PKGBUILDDIR>>/test/test_mock.py:1334: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def a_coroutine(missing_arg):
> /<<PKGBUILDDIR>>/test/test_mock.py:1339: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def tester():
> /<<PKGBUILDDIR>>/test/test_mock.py:1356: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def tester():
> ok
> test_deactivate_patch_when_generator_init_fails
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope_GLOBAL) ...
> ok
> test_multiple_patches_on_coroutine
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope_GLOBAL) ...
> /<<PKGBUILDDIR>>/test/test_mock.py:1870: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def tester(coro_function):
> ok
> test_multiple_patches_on_generator
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope_GLOBAL) ...
> ok
> test_patch_coroutine_during_its_lifetime
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope_GLOBAL) ...
> /<<PKGBUILDDIR>>/test/test_mock.py:1788: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def tester(coro_function):
> ok
> test_patch_generator_during_its_close
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope_GLOBAL) ...
> ok
> test_patch_generator_during_its_lifetime
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope_GLOBAL) ...
> ok
> test_patch_stopped_when_generator_is_closed
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope_GLOBAL) ...
> ok
> test_patch_stopped_when_generator_is_collected
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope_GLOBAL) ...
> ok
> test_deactivate_patch_when_generator_exec_fails
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope_LIMITED)
> ... ok
> test_deactivate_patch_when_generator_init_fails
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope_LIMITED)
> ... ok
> test_multiple_patches_on_coroutine
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope_LIMITED)
> ... /<<PKGBUILDDIR>>/test/test_mock.py:1976: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def tester(coro_function):
> test_patch_coroutine_only_when_running
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope_LIMITED)
> ... /<<PKGBUILDDIR>>/test/test_mock.py:1928: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def tester(coro_function):
> test_patch_generator_only_when_running
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope_LIMITED)
> ... ok
> test_patched_coroutine_with_mock_args
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope_LIMITED)
> ... /<<PKGBUILDDIR>>/test/test_mock.py:1961: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def a_coroutine(mock):
> ok
> test_patch_decorates_class (test.test_mock.Test_patch_dict) ...
> /<<PKGBUILDDIR>>/test/test_mock.py:1189: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def test_a_coroutine(self):
> ok
> test_patch_decorates_coroutine (test.test_mock.Test_patch_dict) ...
> /<<PKGBUILDDIR>>/test/test_mock.py:1161: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def a_coroutine():
> ok
> test_patch_decorates_function (test.test_mock.Test_patch_dict) ... ok
> test_default_scope_is_global
> (test.test_mock.Test_patch_dict_decorator_coroutine_or_generator_scope) ... ok
> test_patch_coroutine_with_multiple_scopes
> (test.test_mock.Test_patch_dict_decorator_coroutine_or_generator_scope) ...
> /<<PKGBUILDDIR>>/test/test_mock.py:1490: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def tester_coroutine(future):
> /<<PKGBUILDDIR>>/test/test_mock.py:1514: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def a_coroutine(future):
> /<<PKGBUILDDIR>>/test/test_mock.py:1526: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def a_coroutine(future):
> ok
> test_patch_generator_with_multiple_scopes
> (test.test_mock.Test_patch_dict_decorator_coroutine_or_generator_scope) ... ok
> test_patch_generator_with_multiple_scopes_on_same_dict
> (test.test_mock.Test_patch_dict_decorator_coroutine_or_generator_scope) ... ok
> test_scope_limited
> (test.test_mock.Test_patch_dict_decorator_coroutine_or_generator_scope) ... ok
> test_patch_coroutine_function_with_CoroutineMock
> (test.test_mock.Test_patch_multiple) ... ok
> test_patch_decorates_coroutine (test.test_mock.Test_patch_multiple) ...
> /<<PKGBUILDDIR>>/test/test_mock.py:1140: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def a_coroutine():
> ok
> test_patch_with_MagicMock (test.test_mock.Test_patch_multiple) ... ok
> test_patch_coroutine_function_with_CoroutineMock
> (test.test_mock.Test_patch_object) ... ok
> test_patch_decorates_coroutine (test.test_mock.Test_patch_object) ...
> /<<PKGBUILDDIR>>/test/test_mock.py:1102: DeprecationWarning: "@coroutine"
> decorator is deprecated since Python 3.8, use "async def" instead
> def a_coroutine():
> ok
> test_patch_with_MagicMock (test.test_mock.Test_patch_object) ... ok
> test_default_value (test.test_mock.Test_return_once) ... ok
> test_then (test.test_mock.Test_return_once) ... ok
> test_with_side_effect_default (test.test_mock.Test_return_once) ... ok
> test_with_side_effect_raises (test.test_mock.Test_return_once) ... ok
> test_with_side_effect_raises_all (test.test_mock.Test_return_once) ... ok
> test_with_side_effect_raises_then (test.test_mock.Test_return_once) ... ok
> test_with_side_effect_then (test.test_mock.Test_return_once) ... ok
> test_callback_scheduled (test.test_selector.Test_set_read_write_ready) ... ok
> test_callback_scheduled_during_current_iteration
> (test.test_selector.Test_set_read_write_ready) ... ok
> test_nothing_scheduled (test.test_selector.Test_set_read_write_ready) ... ok
>
> ======================================================================
> FAIL: test_awaited_from_autospec_mock
> (test.test_mock.Test_CoroutineMock_awaited)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/asynctest/case.py", line 297, in run
> self._run_test_method(testMethod)
> File "/<<PKGBUILDDIR>>/asynctest/case.py", line 354, in _run_test_method
> self.loop.run_until_complete(result)
> File "/<<PKGBUILDDIR>>/asynctest/case.py", line 224, in wrapper
> return method(*args, **kwargs)
> File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in
> run_until_complete
> return future.result()
> File "/<<PKGBUILDDIR>>/test/test_mock.py", line 577, in
> test_awaited_from_autospec_mock
> self.assertEqual(1, mock.a_coroutine.await_count)
> AssertionError: 1 != 2
>
> ======================================================================
> FAIL: test_create_autospec_on_coroutine_and_using_assert_methods
> (test.test_mock.Test_CoroutineMock_awaited)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/asynctest/case.py", line 297, in run
> self._run_test_method(testMethod)
> File "/<<PKGBUILDDIR>>/asynctest/case.py", line 354, in _run_test_method
> self.loop.run_until_complete(result)
> File "/<<PKGBUILDDIR>>/asynctest/case.py", line 224, in wrapper
> return method(*args, **kwargs)
> File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in
> run_until_complete
> return future.result()
> File "/<<PKGBUILDDIR>>/test/test_mock.py", line 778, in
> test_create_autospec_on_coroutine_and_using_assert_methods
> mock.assert_awaited_once()
> File "/usr/lib/python3.8/unittest/mock.py", line 2190, in
> assert_awaited_once
> raise AssertionError(msg)
> AssertionError: Expected mock to have been awaited once. Awaited 2 times.
>
> ======================================================================
> FAIL: test_patch_coroutine_with_multiple_scopes
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope) [new style
> coroutine - Outer: GLOBAL, inner: LIMITED]
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_mock.py", line 1719, in
> test_patch_coroutine_with_multiple_scopes
> run_coroutine(tester(a_native_coroutine))
> File "/<<PKGBUILDDIR>>/test/utils.py", line 9, in run_coroutine
> return loop.run_until_complete(coroutine)
> File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in
> run_until_complete
> return future.result()
> File "/<<PKGBUILDDIR>>/test/test_mock.py", line 1683, in tester
> self.assertEqual((True, False), fut.result())
> AssertionError: Tuples differ: (True, False) != (True, True)
>
> First differing element 1:
> False
> True
>
> - (True, False)
> + (True, True)
>
> ======================================================================
> FAIL: test_patch_coroutine_with_multiple_scopes
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope) [new style
> coroutine - Outer: LIMITED, inner: GLOBAL]
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_mock.py", line 1730, in
> test_patch_coroutine_with_multiple_scopes
> run_coroutine(tester(a_native_coroutine))
> File "/<<PKGBUILDDIR>>/test/utils.py", line 9, in run_coroutine
> return loop.run_until_complete(coroutine)
> File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in
> run_until_complete
> return future.result()
> File "/<<PKGBUILDDIR>>/test/test_mock.py", line 1683, in tester
> self.assertEqual((True, False), fut.result())
> AssertionError: Tuples differ: (True, False) != (True, True)
>
> First differing element 1:
> False
> True
>
> - (True, False)
> + (True, True)
>
> ======================================================================
> FAIL: test_multiple_patches_on_coroutine
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope_LIMITED)
> [new style coroutine]
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_mock.py", line 2007, in
> test_multiple_patches_on_coroutine
> run_coroutine(tester(a_native_coroutine))
> File "/<<PKGBUILDDIR>>/test/utils.py", line 9, in run_coroutine
> return loop.run_until_complete(coroutine)
> File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in
> run_until_complete
> return future.result()
> File "/<<PKGBUILDDIR>>/test/test_mock.py", line 1982, in tester
> self.assertEqual((False, False), fut.result())
> AssertionError: Tuples differ: (False, False) != (True, True)
>
> First differing element 0:
> False
> True
>
> - (False, False)
> + (True, True)
>
> ======================================================================
> FAIL: test_patch_coroutine_only_when_running
> (test.test_mock.Test_patch_decorator_coroutine_or_generator_scope_LIMITED)
> [new style coroutine]
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_mock.py", line 1955, in
> test_patch_coroutine_only_when_running
> run_coroutine(tester(a_native_coroutine))
> File "/<<PKGBUILDDIR>>/test/utils.py", line 9, in run_coroutine
> return loop.run_until_complete(coroutine)
> File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in
> run_until_complete
> return future.result()
> File "/<<PKGBUILDDIR>>/test/test_mock.py", line 1934, in tester
> self.assertFalse(fut.result())
> AssertionError: True is not false
>
> ----------------------------------------------------------------------
> Ran 220 tests in 0.365s
>
> FAILED (failures=6, skipped=1)
> make[1]: *** [debian/rules:10: override_dh_auto_test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/03/21/python-asynctest_0.13.0-4_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
--- End Message ---