File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -548,13 +548,14 @@ def test_optim_args_from_interpreter_flags(self):
548548 with self .subTest (opts = opts ):
549549 self .check_options (opts , 'optim_args_from_interpreter_flags' )
550550
551+ @unittest .skipIf (support .is_apple_mobile , "Unstable on Apple Mobile" )
551552 @unittest .skipIf (support .is_emscripten , "Unstable in Emscripten" )
552553 @unittest .skipIf (support .is_wasi , "Unavailable on WASI" )
553554 def test_fd_count (self ):
554- # We cannot test the absolute value of fd_count(): on old Linux
555- # kernel or glibc versions, os.urandom() keeps a FD open on
556- # /dev/urandom device and Python has 4 FD opens instead of 3.
557- # Test is unstable on Emscripten. The platform starts and stops
555+ # We cannot test the absolute value of fd_count(): on old Linux kernel
556+ # or glibc versions, os.urandom() keeps a FD open on /dev/urandom
557+ # device and Python has 4 FD opens instead of 3. Test is unstable on
558+ # Emscripten and Apple Mobile platforms; these platforms start and stop
558559 # background threads that use pipes and epoll fds.
559560 start = os_helper .fd_count ()
560561 fd = os .open (__file__ , os .O_RDONLY )
You can’t perform that action at this time.
0 commit comments