mirror of
https://github.com/python/cpython.git
synced 2025-12-04 16:43:27 +00:00
Merge fix for #11490 from 3.1.
This commit is contained in:
commit
384069c2e8
2 changed files with 5 additions and 1 deletions
|
|
@ -587,7 +587,8 @@ class ProcessTestCase(BaseTestCase):
|
||||||
subprocess.Popen(['nonexisting_i_hope'],
|
subprocess.Popen(['nonexisting_i_hope'],
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE)
|
stderr=subprocess.PIPE)
|
||||||
if c.exception.errno != errno.ENOENT: # ignore "no such file"
|
# ignore errors that indicate the command was not found
|
||||||
|
if c.exception.errno not in (errno.ENOENT, errno.EACCES):
|
||||||
raise c.exception
|
raise c.exception
|
||||||
|
|
||||||
def test_issue8780(self):
|
def test_issue8780(self):
|
||||||
|
|
|
||||||
|
|
@ -92,6 +92,9 @@ Tools/Demos
|
||||||
Tests
|
Tests
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- Issue #11490: test_subprocess:test_leaking_fds_on_error no longer gives a
|
||||||
|
false positive if the last directory in the path is inaccessible.
|
||||||
|
|
||||||
- Issue #11223: Fix test_threadsignals to fail, not hang, when the
|
- Issue #11223: Fix test_threadsignals to fail, not hang, when the
|
||||||
non-semaphore implementation of locks is used under POSIX.
|
non-semaphore implementation of locks is used under POSIX.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue