File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -753,6 +753,9 @@ def test_nonexisting_script(self):
753
753
self .assertNotEqual (proc .returncode , 0 )
754
754
755
755
@unittest .skipUnless (os .path .exists ('/dev/fd/0' ), 'requires /dev/fd platform' )
756
+ @unittest .skipIf (sys .platform .startswith ("freebsd" ) and
757
+ os .stat ("/dev" ).st_dev == os .stat ("/dev/fd" ).st_dev ,
758
+ "Requires fdescfs mounted on /dev/fd on FreeBSD" )
756
759
def test_script_as_dev_fd (self ):
757
760
# GH-87235: On macOS passing a non-trivial script to /dev/fd/N can cause
758
761
# problems because all open /dev/fd/N file descriptors share the same
Original file line number Diff line number Diff line change @@ -2832,7 +2832,7 @@ def test_close_fds(self):
2832
2832
2833
2833
@unittest .skipIf (sys .platform .startswith ("freebsd" ) and
2834
2834
os .stat ("/dev" ).st_dev == os .stat ("/dev/fd" ).st_dev ,
2835
- "Requires fdescfs mounted on /dev/fd on FreeBSD. " )
2835
+ "Requires fdescfs mounted on /dev/fd on FreeBSD" )
2836
2836
def test_close_fds_when_max_fd_is_lowered (self ):
2837
2837
"""Confirm that issue21618 is fixed (may fail under valgrind)."""
2838
2838
fd_status = support .findfile ("fd_status.py" , subdir = "subprocessdata" )
You can’t perform that action at this time.
0 commit comments