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

bpo-39966: Revert "bpo-25597: Ensure wraps' return value is used for magic methods in MagicMock (#16029)" #19734

Merged
merged 3 commits into from
Apr 28, 2020

Conversation

tirkarthi
Copy link
Member

@tirkarthi tirkarthi commented Apr 27, 2020

obj = klass()
self.assertEqual(obj.__getitem__(2), 2)
self.assertEqual(obj.__custom_method__(), "foo")

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about leaving these tests in, but change their expectations and add comments as to why things are the way they are and how they would be in a perfect world?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually reversions do a git revert of commit fixing conflicts and add a NEWS entry as needed if the change was released. I guess these can be added back as part of a separate tests only PR. I am new to doing a reversion so feel free to correct me if I am wrong.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If cpython hadn't chose squashing commits as their appoach, I'd suggest doing the revert in one commit and then add the tests back in another commit.

However, given that squashing is the choice cpython has made, it makes little difference.
Maybe two commits in this PR which will get squashed down to one on merge?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I have added back the test and added some comments referencing the issue.

@@ -0,0 +1,2 @@
Revert bpo-25597. :class:`unittest.mock.MagicMock` with wraps' set uses
default return values for magic methods.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure we need this if the new item is removed above?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change was published as part of an alpha release. So my belief with respect to reversion after a release is that someone might depend on it and to explicitly note tbe reversion as a NEWS entry from past reversions I looked in git log.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, but perhaps that means the original news item should stay too? It's a little confusing to have a reference to a bpo that isn't anywhere else in the changelog.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, added it back. Each alpha has a separate section and it reads like added in alpha 4 to be reverted by alpha 6. If anyone has concern or feedback later I will change it.

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot AMD64 Debian PGO 3.x has failed when building commit 521c8d6.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/38/builds/841) and take a look at the build logs.
  4. Check if the failure is related to this commit (521c8d6) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/38/builds/841

Summary of the results of the build (if available):

== Tests result: ENV CHANGED ==

408 tests OK.

10 slowest tests:

  • test_peg_generator: 3 min 24 sec
  • test_concurrent_futures: 2 min 58 sec
  • test_multiprocessing_spawn: 1 min 57 sec
  • test_multiprocessing_forkserver: 1 min 22 sec
  • test_multiprocessing_fork: 1 min 10 sec
  • test_asyncio: 54.6 sec
  • test_signal: 48.1 sec
  • test_unparse: 42.4 sec
  • test_io: 36.4 sec
  • test_largefile: 35.0 sec

1 test altered the execution environment:
test_concurrent_futures

14 tests skipped:
test_devpoll test_gdb test_ioctl test_kqueue test_msilib
test_ossaudiodev test_startfile test_tix test_tk test_ttk_guionly
test_winconsoleio test_winreg test_winsound test_zipfile64

Total duration: 13 min 21 sec

Click to see traceback logs
remote: Enumerating objects: 24, done.        
remote: Counting objects:   4% (1/24)        
remote: Counting objects:   8% (2/24)        
remote: Counting objects:  12% (3/24)        
remote: Counting objects:  16% (4/24)        
remote: Counting objects:  20% (5/24)        
remote: Counting objects:  25% (6/24)        
remote: Counting objects:  29% (7/24)        
remote: Counting objects:  33% (8/24)        
remote: Counting objects:  37% (9/24)        
remote: Counting objects:  41% (10/24)        
remote: Counting objects:  45% (11/24)        
remote: Counting objects:  50% (12/24)        
remote: Counting objects:  54% (13/24)        
remote: Counting objects:  58% (14/24)        
remote: Counting objects:  62% (15/24)        
remote: Counting objects:  66% (16/24)        
remote: Counting objects:  70% (17/24)        
remote: Counting objects:  75% (18/24)        
remote: Counting objects:  79% (19/24)        
remote: Counting objects:  83% (20/24)        
remote: Counting objects:  87% (21/24)        
remote: Counting objects:  91% (22/24)        
remote: Counting objects:  95% (23/24)        
remote: Counting objects: 100% (24/24)        
remote: Counting objects: 100% (24/24), done.        
remote: Compressing objects:   8% (1/12)        
remote: Compressing objects:  16% (2/12)        
remote: Compressing objects:  25% (3/12)        
remote: Compressing objects:  33% (4/12)        
remote: Compressing objects:  41% (5/12)        
remote: Compressing objects:  50% (6/12)        
remote: Compressing objects:  58% (7/12)        
remote: Compressing objects:  66% (8/12)        
remote: Compressing objects:  75% (9/12)        
remote: Compressing objects:  83% (10/12)        
remote: Compressing objects:  91% (11/12)        
remote: Compressing objects: 100% (12/12)        
remote: Compressing objects: 100% (12/12), done.        
remote: Total 13 (delta 11), reused 2 (delta 1), pack-reused 0        
From https://github.com/python/cpython
 * branch                  master     -> FETCH_HEAD
Reset branch 'master'

find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
make[2]: [Makefile:1826: clean-retain-profile] Error 1 (ignored)

test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_tk skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]
test_kqueue skipped -- test works only on BSD
test_flock (__main__.FNTLEINTRTest) ... ok
test_lockf (__main__.FNTLEINTRTest) ... ok
test_read (__main__.OSEINTRTest) ... ok
test_wait (__main__.OSEINTRTest) ... ok
test_wait3 (__main__.OSEINTRTest) ... ok
test_wait4 (__main__.OSEINTRTest) ... ok
test_waitpid (__main__.OSEINTRTest) ... ok
test_write (__main__.OSEINTRTest) ... ok
test_devpoll (__main__.SelectEINTRTest) ... skipped 'need select.devpoll'
test_epoll (__main__.SelectEINTRTest) ... ok
test_kqueue (__main__.SelectEINTRTest) ... skipped 'need select.kqueue'
test_poll (__main__.SelectEINTRTest) ... ok
test_select (__main__.SelectEINTRTest) ... ok
test_sigtimedwait (__main__.SignalEINTRTest) ... ok
test_sigwaitinfo (__main__.SignalEINTRTest) ... ok
test_accept (__main__.SocketEINTRTest) ... ok
test_open (__main__.SocketEINTRTest) ... ok
test_os_open (__main__.SocketEINTRTest) ... ok
test_recv (__main__.SocketEINTRTest) ... ok
test_recvmsg (__main__.SocketEINTRTest) ... ok
test_send (__main__.SocketEINTRTest) ... ok
test_sendall (__main__.SocketEINTRTest) ... ok
test_sendmsg (__main__.SocketEINTRTest) ... ok
test_sleep (__main__.TimeEINTRTest) ... ok

----------------------------------------------------------------------
Ran 24 tests in 6.352s

OK (skipped=2)
test_winconsoleio skipped -- test only relevant on win32
test_tix skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]
test_ttk_guionly skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]
test_ioctl skipped -- Unable to open /dev/tty
test_ossaudiodev skipped -- [Errno 2] No such file or directory: '/dev/dsp'
test_gdb skipped -- Couldn't find gdb on the path
BDB0111 DB->del: attempt to modify a read-only database
BDB0111 DB->del: attempt to modify a read-only database
BDB0111 DB->put: attempt to modify a read-only database
test_winsound skipped -- No module named 'winsound'
test_startfile skipped -- object <module 'os' from '/var/lib/buildbot/workers/enable-optimizations-bot/3.x.gps-debian-profile-opt.pgo/build/Lib/os.py'> has no attribute 'startfile'
test_msilib skipped -- No module named '_msi'
BDB0004 fop_read_meta: @test_6238_tmp_ndbm.db: unexpected file type or format
test_winreg skipped -- No module named 'winreg'
stty: 'standard input': Inappropriate ioctl for device
test_devpoll skipped -- test works only on Solaris OS family
Warning -- Unraisable exception
test_cancel (test.test_concurrent_futures.FutureTests) ... ok
test_cancelled (test.test_concurrent_futures.FutureTests) ... ok
test_done (test.test_concurrent_futures.FutureTests) ... ok
test_done_callback_already_cancelled (test.test_concurrent_futures.FutureTests) ... ok
test_done_callback_already_failed (test.test_concurrent_futures.FutureTests) ... ok
test_done_callback_already_successful (test.test_concurrent_futures.FutureTests) ... ok
test_done_callback_raises (test.test_concurrent_futures.FutureTests) ... ok
test_done_callback_raises_already_succeeded (test.test_concurrent_futures.FutureTests) ... ok
test_done_callback_with_cancel (test.test_concurrent_futures.FutureTests) ... ok
test_done_callback_with_exception (test.test_concurrent_futures.FutureTests) ... ok
test_done_callback_with_result (test.test_concurrent_futures.FutureTests) ... ok
test_exception_with_success (test.test_concurrent_futures.FutureTests) ... ok
test_exception_with_timeout (test.test_concurrent_futures.FutureTests) ... ok
test_multiple_set_exception (test.test_concurrent_futures.FutureTests) ... ok
test_multiple_set_result (test.test_concurrent_futures.FutureTests) ... ok
test_repr (test.test_concurrent_futures.FutureTests) ... ok
test_result_with_cancel (test.test_concurrent_futures.FutureTests) ... ok
test_result_with_success (test.test_concurrent_futures.FutureTests) ... ok
test_result_with_timeout (test.test_concurrent_futures.FutureTests) ... ok
test_running (test.test_concurrent_futures.FutureTests) ... ok
test_correct_timeout_exception_msg (test.test_concurrent_futures.ProcessPoolForkAsCompletedTest) ... ok
test_duplicate_futures (test.test_concurrent_futures.ProcessPoolForkAsCompletedTest) ... ok
test_free_reference_yielded_future (test.test_concurrent_futures.ProcessPoolForkAsCompletedTest) ... ok
test_no_timeout (test.test_concurrent_futures.ProcessPoolForkAsCompletedTest) ... ok
test_zero_timeout (test.test_concurrent_futures.ProcessPoolForkAsCompletedTest) ... ok
test_crash_at_task_unpickle (test.test_concurrent_futures.ProcessPoolForkExecutorDeadlockTest) ... ok
test_crash_during_func_exec_on_worker (test.test_concurrent_futures.ProcessPoolForkExecutorDeadlockTest) ... ok
test_crash_during_result_pickle_on_worker (test.test_concurrent_futures.ProcessPoolForkExecutorDeadlockTest) ... ok
test_error_at_task_pickle (test.test_concurrent_futures.ProcessPoolForkExecutorDeadlockTest) ... ok
test_error_at_task_unpickle (test.test_concurrent_futures.ProcessPoolForkExecutorDeadlockTest) ... ok
test_error_during_func_exec_on_worker (test.test_concurrent_futures.ProcessPoolForkExecutorDeadlockTest) ... ok
test_error_during_result_pickle_on_worker (test.test_concurrent_futures.ProcessPoolForkExecutorDeadlockTest) ... ok
test_error_during_result_unpickle_in_result_handler (test.test_concurrent_futures.ProcessPoolForkExecutorDeadlockTest) ... ok
test_exit_at_task_unpickle (test.test_concurrent_futures.ProcessPoolForkExecutorDeadlockTest) ... ok
test_exit_during_func_exec_on_worker (test.test_concurrent_futures.ProcessPoolForkExecutorDeadlockTest) ... ok
test_exit_during_result_pickle_on_worker (test.test_concurrent_futures.ProcessPoolForkExecutorDeadlockTest) ... ok
test_exit_during_result_unpickle_in_result_handler (test.test_concurrent_futures.ProcessPoolForkExecutorDeadlockTest) ... ok
test_shutdown_deadlock (test.test_concurrent_futures.ProcessPoolForkExecutorDeadlockTest) ... ok
test_shutdown_deadlock_pickle (test.test_concurrent_futures.ProcessPoolForkExecutorDeadlockTest) ... ok
test_initializer (test.test_concurrent_futures.ProcessPoolForkFailingInitializerTest) ... ok
test_initializer (test.test_concurrent_futures.ProcessPoolForkInitializerTest) ... ok
test_free_reference (test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest) ... ok
test_idle_process_reuse_multiple (test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest) ... ok
test_idle_process_reuse_one (test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest) ... ok
test_killed_child (test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest) ... ok
test_map (test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest) ... ok
test_map_chunksize (test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest) ... ok
test_map_exception (test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest) ... ok
test_map_timeout (test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest) ... ok
test_max_workers_negative (test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest) ... ok
test_max_workers_too_large (test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest) ... skipped 'Windows-only process limit'
test_no_stale_references (test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest) ... ok
test_ressources_gced_in_workers (test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest) ... ok
test_saturation (test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest) ... ok
test_shutdown_race_issue12456 (test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest) ... ok
test_submit (test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest) ... ok
test_submit_keyword (test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest) ... ok
test_traceback (test.test_concurrent_futures.ProcessPoolForkProcessPoolExecutorTest) ... ok
test_cancel_futures (test.test_concurrent_futures.ProcessPoolForkProcessPoolShutdownTest) ... ok
test_context_manager_shutdown (test.test_concurrent_futures.ProcessPoolForkProcessPoolShutdownTest) ... ok
test_del_shutdown (test.test_concurrent_futures.ProcessPoolForkProcessPoolShutdownTest) ... ok
test_hang_issue12364 (test.test_concurrent_futures.ProcessPoolForkProcessPoolShutdownTest) ... ok
test_hang_issue39205 (test.test_concurrent_futures.ProcessPoolForkProcessPoolShutdownTest)
shutdown(wait=False) doesn't hang at exit with running futures. ... skipped 'Hangs due to https://bugs.python.org/issue39205'
test_interpreter_shutdown (test.test_concurrent_futures.ProcessPoolForkProcessPoolShutdownTest) ... ok
test_processes_terminate (test.test_concurrent_futures.ProcessPoolForkProcessPoolShutdownTest) ... ok
test_run_after_shutdown (test.test_concurrent_futures.ProcessPoolForkProcessPoolShutdownTest) ... ok
test_shutdown_no_wait (test.test_concurrent_futures.ProcessPoolForkProcessPoolShutdownTest) ... ok
test_submit_after_interpreter_shutdown (test.test_concurrent_futures.ProcessPoolForkProcessPoolShutdownTest) ... ok
test_all_completed (test.test_concurrent_futures.ProcessPoolForkWaitTest) ... ok
test_first_completed (test.test_concurrent_futures.ProcessPoolForkWaitTest) ... ok
test_first_completed_some_already_completed (test.test_concurrent_futures.ProcessPoolForkWaitTest) ... ok
test_first_exception (test.test_concurrent_futures.ProcessPoolForkWaitTest) ... ok
test_first_exception_one_already_failed (test.test_concurrent_futures.ProcessPoolForkWaitTest) ... ok
test_first_exception_some_already_complete (test.test_concurrent_futures.ProcessPoolForkWaitTest) ... ok
test_timeout (test.test_concurrent_futures.ProcessPoolForkWaitTest) ... ok
test_correct_timeout_exception_msg (test.test_concurrent_futures.ProcessPoolForkserverAsCompletedTest) ... ok
test_duplicate_futures (test.test_concurrent_futures.ProcessPoolForkserverAsCompletedTest) ... ok
test_free_reference_yielded_future (test.test_concurrent_futures.ProcessPoolForkserverAsCompletedTest) ... ok
test_no_timeout (test.test_concurrent_futures.ProcessPoolForkserverAsCompletedTest) ... ok
test_zero_timeout (test.test_concurrent_futures.ProcessPoolForkserverAsCompletedTest) ... ok
test_crash_at_task_unpickle (test.test_concurrent_futures.ProcessPoolForkserverExecutorDeadlockTest) ... ok
test_crash_during_func_exec_on_worker (test.test_concurrent_futures.ProcessPoolForkserverExecutorDeadlockTest) ... ok
test_crash_during_result_pickle_on_worker (test.test_concurrent_futures.ProcessPoolForkserverExecutorDeadlockTest) ... ok
test_error_at_task_pickle (test.test_concurrent_futures.ProcessPoolForkserverExecutorDeadlockTest) ... ok
test_error_at_task_unpickle (test.test_concurrent_futures.ProcessPoolForkserverExecutorDeadlockTest) ... ok
test_error_during_func_exec_on_worker (test.test_concurrent_futures.ProcessPoolForkserverExecutorDeadlockTest) ... ok
test_error_during_result_pickle_on_worker (test.test_concurrent_futures.ProcessPoolForkserverExecutorDeadlockTest) ... ok
test_error_during_result_unpickle_in_result_handler (test.test_concurrent_futures.ProcessPoolForkserverExecutorDeadlockTest) ... ok
test_exit_at_task_unpickle (test.test_concurrent_futures.ProcessPoolForkserverExecutorDeadlockTest) ... ok
test_exit_during_func_exec_on_worker (test.test_concurrent_futures.ProcessPoolForkserverExecutorDeadlockTest) ... ok
test_exit_during_result_pickle_on_worker (test.test_concurrent_futures.ProcessPoolForkserverExecutorDeadlockTest) ... ok
test_exit_during_result_unpickle_in_result_handler (test.test_concurrent_futures.ProcessPoolForkserverExecutorDeadlockTest) ... ok
test_shutdown_deadlock (test.test_concurrent_futures.ProcessPoolForkserverExecutorDeadlockTest) ... ok
test_shutdown_deadlock_pickle (test.test_concurrent_futures.ProcessPoolForkserverExecutorDeadlockTest) ... ok
test_initializer (test.test_concurrent_futures.ProcessPoolForkserverFailingInitializerTest) ... ok
test_initializer (test.test_concurrent_futures.ProcessPoolForkserverInitializerTest) ... ok
test_free_reference (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolExecutorTest) ... ok
test_idle_process_reuse_multiple (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolExecutorTest) ... ok
test_idle_process_reuse_one (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolExecutorTest) ... ok
test_killed_child (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolExecutorTest) ... ok
test_map (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolExecutorTest) ... ok
test_map_chunksize (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolExecutorTest) ... ok
test_map_exception (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolExecutorTest) ... ok
test_map_timeout (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolExecutorTest) ... ok
test_max_workers_negative (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolExecutorTest) ... ok
test_max_workers_too_large (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolExecutorTest) ... skipped 'Windows-only process limit'
test_no_stale_references (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolExecutorTest) ... ok
test_ressources_gced_in_workers (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolExecutorTest) ... ok
test_saturation (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolExecutorTest) ... ok
test_shutdown_race_issue12456 (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolExecutorTest) ... ok
test_submit (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolExecutorTest) ... ok
test_submit_keyword (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolExecutorTest) ... ok
test_traceback (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolExecutorTest) ... ok
test_cancel_futures (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolShutdownTest) ... ok
test_context_manager_shutdown (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolShutdownTest) ... ok
test_del_shutdown (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolShutdownTest) ... ok
test_hang_issue12364 (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolShutdownTest) ... ok
test_hang_issue39205 (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolShutdownTest)
shutdown(wait=False) doesn't hang at exit with running futures. ... skipped 'Hangs due to https://bugs.python.org/issue39205'
test_interpreter_shutdown (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolShutdownTest) ... ok
test_processes_terminate (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolShutdownTest) ... ok
test_run_after_shutdown (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolShutdownTest) ... ok
test_shutdown_no_wait (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolShutdownTest) ... ok
test_submit_after_interpreter_shutdown (test.test_concurrent_futures.ProcessPoolForkserverProcessPoolShutdownTest) ... ok
test_all_completed (test.test_concurrent_futures.ProcessPoolForkserverWaitTest) ... ok
test_first_completed (test.test_concurrent_futures.ProcessPoolForkserverWaitTest) ... ok
test_first_completed_some_already_completed (test.test_concurrent_futures.ProcessPoolForkserverWaitTest) ... ok
test_first_exception (test.test_concurrent_futures.ProcessPoolForkserverWaitTest) ... ok
test_first_exception_one_already_failed (test.test_concurrent_futures.ProcessPoolForkserverWaitTest) ... ok
test_first_exception_some_already_complete (test.test_concurrent_futures.ProcessPoolForkserverWaitTest) ... ok
test_timeout (test.test_concurrent_futures.ProcessPoolForkserverWaitTest) ... ok
test_correct_timeout_exception_msg (test.test_concurrent_futures.ProcessPoolSpawnAsCompletedTest) ... ok
test_duplicate_futures (test.test_concurrent_futures.ProcessPoolSpawnAsCompletedTest) ... ok
test_free_reference_yielded_future (test.test_concurrent_futures.ProcessPoolSpawnAsCompletedTest) ... ok
test_no_timeout (test.test_concurrent_futures.ProcessPoolSpawnAsCompletedTest) ... ok
test_zero_timeout (test.test_concurrent_futures.ProcessPoolSpawnAsCompletedTest) ... ok
test_crash_at_task_unpickle (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) ... ok
test_crash_during_func_exec_on_worker (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) ... ok
test_crash_during_result_pickle_on_worker (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) ... ok
test_error_at_task_pickle (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) ... ok
test_error_at_task_unpickle (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) ... ok
test_error_during_func_exec_on_worker (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) ... ok
test_error_during_result_pickle_on_worker (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) ... ok
test_error_during_result_unpickle_in_result_handler (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) ... ok
test_exit_at_task_unpickle (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) ... ok
test_exit_during_func_exec_on_worker (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) ... ok
test_exit_during_result_pickle_on_worker (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) ... ok
test_exit_during_result_unpickle_in_result_handler (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) ... ok
test_shutdown_deadlock (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) ... ok
test_shutdown_deadlock_pickle (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) ... ok
test_initializer (test.test_concurrent_futures.ProcessPoolSpawnFailingInitializerTest) ... ok
test_initializer (test.test_concurrent_futures.ProcessPoolSpawnInitializerTest) ... ok
test_free_reference (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest) ... ok
test_idle_process_reuse_multiple (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest) ... ok
test_idle_process_reuse_one (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest) ... ok
test_killed_child (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest) ... ok
test_map (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest) ... ok
test_map_chunksize (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest) ... ok
test_map_exception (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest) ... ok
test_map_timeout (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest) ... ok
test_max_workers_negative (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest) ... ok
test_max_workers_too_large (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest) ... skipped 'Windows-only process limit'
test_no_stale_references (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest) ... ok
test_ressources_gced_in_workers (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest) ... ok
test_saturation (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest) ... ok
test_shutdown_race_issue12456 (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest) ... ok
test_submit (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest) ... ok
test_submit_keyword (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest) ... ok
test_traceback (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest) ... ok
test_cancel_futures (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolShutdownTest) ... ok
test_context_manager_shutdown (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolShutdownTest) ... ok
test_del_shutdown (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolShutdownTest) ... ok
test_hang_issue12364 (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolShutdownTest) ... ok
test_hang_issue39205 (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolShutdownTest)
shutdown(wait=False) doesn't hang at exit with running futures. ... skipped 'Hangs due to https://bugs.python.org/issue39205'
test_interpreter_shutdown (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolShutdownTest) ... ok
test_processes_terminate (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolShutdownTest) ... ok
test_run_after_shutdown (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolShutdownTest) ... ok
test_shutdown_no_wait (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolShutdownTest) ... ok
test_submit_after_interpreter_shutdown (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolShutdownTest) ... ok
test_all_completed (test.test_concurrent_futures.ProcessPoolSpawnWaitTest) ... ok
test_first_completed (test.test_concurrent_futures.ProcessPoolSpawnWaitTest) ... ok
test_first_completed_some_already_completed (test.test_concurrent_futures.ProcessPoolSpawnWaitTest) ... ok
test_first_exception (test.test_concurrent_futures.ProcessPoolSpawnWaitTest) ... ok
test_first_exception_one_already_failed (test.test_concurrent_futures.ProcessPoolSpawnWaitTest) ... ok
test_first_exception_some_already_complete (test.test_concurrent_futures.ProcessPoolSpawnWaitTest) ... ok
test_timeout (test.test_concurrent_futures.ProcessPoolSpawnWaitTest) ... ok
test_correct_timeout_exception_msg (test.test_concurrent_futures.ThreadPoolAsCompletedTest) ... ok
test_duplicate_futures (test.test_concurrent_futures.ThreadPoolAsCompletedTest) ... ok
test_free_reference_yielded_future (test.test_concurrent_futures.ThreadPoolAsCompletedTest) ... ok
test_no_timeout (test.test_concurrent_futures.ThreadPoolAsCompletedTest) ... ok
test_zero_timeout (test.test_concurrent_futures.ThreadPoolAsCompletedTest) ... ok
test_default_workers (test.test_concurrent_futures.ThreadPoolExecutorTest) ... ok
test_free_reference (test.test_concurrent_futures.ThreadPoolExecutorTest) ... ok
test_idle_thread_reuse (test.test_concurrent_futures.ThreadPoolExecutorTest) ... ok
test_map (test.test_concurrent_futures.ThreadPoolExecutorTest) ... ok
test_map_exception (test.test_concurrent_futures.ThreadPoolExecutorTest) ... ok
test_map_submits_without_iteration (test.test_concurrent_futures.ThreadPoolExecutorTest)
Tests verifying issue 11777. ... ok
test_map_timeout (test.test_concurrent_futures.ThreadPoolExecutorTest) ... ok
test_max_workers_negative (test.test_concurrent_futures.ThreadPoolExecutorTest) ... ok
test_no_stale_references (test.test_concurrent_futures.ThreadPoolExecutorTest) ... ok
test_saturation (test.test_concurrent_futures.ThreadPoolExecutorTest) ... ok
test_shutdown_race_issue12456 (test.test_concurrent_futures.ThreadPoolExecutorTest) ... ok
test_submit (test.test_concurrent_futures.ThreadPoolExecutorTest) ... ok
test_submit_keyword (test.test_concurrent_futures.ThreadPoolExecutorTest) ... ok
test_initializer (test.test_concurrent_futures.ThreadPoolFailingInitializerTest) ... ok
test_initializer (test.test_concurrent_futures.ThreadPoolInitializerTest) ... ok
test_cancel_futures (test.test_concurrent_futures.ThreadPoolShutdownTest) ... ok
test_cancel_futures_wait_false (test.test_concurrent_futures.ThreadPoolShutdownTest) ... ok
test_context_manager_shutdown (test.test_concurrent_futures.ThreadPoolShutdownTest) ... ok
test_del_shutdown (test.test_concurrent_futures.ThreadPoolShutdownTest) ... ok
test_hang_issue12364 (test.test_concurrent_futures.ThreadPoolShutdownTest) ... ok
test_hang_issue39205 (test.test_concurrent_futures.ThreadPoolShutdownTest)
shutdown(wait=False) doesn't hang at exit with running futures. ... ok
test_interpreter_shutdown (test.test_concurrent_futures.ThreadPoolShutdownTest) ... ok
test_run_after_shutdown (test.test_concurrent_futures.ThreadPoolShutdownTest) ... ok
test_shutdown_no_wait (test.test_concurrent_futures.ThreadPoolShutdownTest) ... ok
test_submit_after_interpreter_shutdown (test.test_concurrent_futures.ThreadPoolShutdownTest) ... ok
test_thread_names_assigned (test.test_concurrent_futures.ThreadPoolShutdownTest) ... ok
test_thread_names_default (test.test_concurrent_futures.ThreadPoolShutdownTest) ... ok
test_threads_terminate (test.test_concurrent_futures.ThreadPoolShutdownTest) ... ok
test_all_completed (test.test_concurrent_futures.ThreadPoolWaitTests) ... ok
test_first_completed (test.test_concurrent_futures.ThreadPoolWaitTests) ... ok
test_first_completed_some_already_completed (test.test_concurrent_futures.ThreadPoolWaitTests) ... ok
test_first_exception (test.test_concurrent_futures.ThreadPoolWaitTests) ... ok
test_first_exception_one_already_failed (test.test_concurrent_futures.ThreadPoolWaitTests) ... ok
test_first_exception_some_already_complete (test.test_concurrent_futures.ThreadPoolWaitTests) ... ok
test_pending_calls_race (test.test_concurrent_futures.ThreadPoolWaitTests) ... ok
test_timeout (test.test_concurrent_futures.ThreadPoolWaitTests) ... ok

----------------------------------------------------------------------

Ran 226 tests in 178.169s

OK (skipped=6)
make: *** [Makefile:1203: buildbottest] Error 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants