[New-bugs-announce] [issue35794] test_posix.py test failure

Jeroen Demeyer report at bugs.python.org
Mon Jan 21 05:53:44 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'
            pid = posix.posix_spawn(no_such_executable,
        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>

More information about the New-bugs-announce mailing list