[issue35794] test_posix.py test failure

Jeroen Demeyer report at bugs.python.org
Mon Jan 21 05:53:46 EST 2019


New submission from Jeroen Demeyer <J.Demeyer at UGent.be>:

This test was recently added (PR 6332):

    def test_no_such_executable(self):
        no_such_executable = 'no_such_executable'
        try:
            pid = posix.posix_spawn(no_such_executable,
                                    [no_such_executable],
                                    os.environ)
        except FileNotFoundError as exc:
            self.assertEqual(exc.filename, no_such_executable)

On my system, it fails with

    PermissionError: [Errno 13] Permission denied: 'no_such_executable'

----------
messages: 334123
nosy: jdemeyer
priority: normal
severity: normal
status: open
title: test_posix.py test failure

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35794>
_______________________________________


More information about the Python-bugs-list mailing list