1818from test .support import os_helper
1919from test .support import socket_helper
2020from test .support import wait_process
21+ from test .support import hashlib_helper
2122
2223if sys .platform == 'win32' :
2324 raise unittest .SkipTest ('UNIX only' )
@@ -1893,6 +1894,7 @@ async def test_fork_not_share_event_loop(self):
18931894 self .assertNotEqual (child_loop , id (loop ))
18941895 wait_process (pid , exitcode = 0 )
18951896
1897+ @hashlib_helper .requires_hashdigest ('md5' )
18961898 def test_fork_signal_handling (self ):
18971899 # Sending signal to the forked process should not affect the parent
18981900 # process
@@ -1930,6 +1932,7 @@ async def func():
19301932 self .assertFalse (parent_handled .is_set ())
19311933 self .assertTrue (child_handled .is_set ())
19321934
1935+ @hashlib_helper .requires_hashdigest ('md5' )
19331936 def test_fork_asyncio_run (self ):
19341937 ctx = multiprocessing .get_context ('fork' )
19351938 manager = ctx .Manager ()
@@ -1946,6 +1949,7 @@ async def child_main():
19461949
19471950 self .assertEqual (result .value , 42 )
19481951
1952+ @hashlib_helper .requires_hashdigest ('md5' )
19491953 def test_fork_asyncio_subprocess (self ):
19501954 ctx = multiprocessing .get_context ('fork' )
19511955 manager = ctx .Manager ()
0 commit comments