18
18
from test .support import os_helper
19
19
from test .support import socket_helper
20
20
from test .support import wait_process
21
+ from test .support import hashlib_helper
21
22
22
23
if sys .platform == 'win32' :
23
24
raise unittest .SkipTest ('UNIX only' )
@@ -1893,6 +1894,7 @@ async def test_fork_not_share_event_loop(self):
1893
1894
self .assertNotEqual (child_loop , id (loop ))
1894
1895
wait_process (pid , exitcode = 0 )
1895
1896
1897
+ @hashlib_helper .requires_hashdigest ('md5' )
1896
1898
def test_fork_signal_handling (self ):
1897
1899
# Sending signal to the forked process should not affect the parent
1898
1900
# process
@@ -1930,6 +1932,7 @@ async def func():
1930
1932
self .assertFalse (parent_handled .is_set ())
1931
1933
self .assertTrue (child_handled .is_set ())
1932
1934
1935
+ @hashlib_helper .requires_hashdigest ('md5' )
1933
1936
def test_fork_asyncio_run (self ):
1934
1937
ctx = multiprocessing .get_context ('fork' )
1935
1938
manager = ctx .Manager ()
@@ -1946,6 +1949,7 @@ async def child_main():
1946
1949
1947
1950
self .assertEqual (result .value , 42 )
1948
1951
1952
+ @hashlib_helper .requires_hashdigest ('md5' )
1949
1953
def test_fork_asyncio_subprocess (self ):
1950
1954
ctx = multiprocessing .get_context ('fork' )
1951
1955
manager = ctx .Manager ()
0 commit comments