File tree 1 file changed +5
-4
lines changed
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):
548
548
with self .subTest (opts = opts ):
549
549
self .check_options (opts , 'optim_args_from_interpreter_flags' )
550
550
551
+ @unittest .skipIf (support .is_apple_mobile , "Unstable on Apple Mobile" )
551
552
@unittest .skipIf (support .is_emscripten , "Unstable in Emscripten" )
552
553
@unittest .skipIf (support .is_wasi , "Unavailable on WASI" )
553
554
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
558
559
# background threads that use pipes and epoll fds.
559
560
start = os_helper .fd_count ()
560
561
fd = os .open (__file__ , os .O_RDONLY )
You can’t perform that action at this time.
0 commit comments