New submission from Michael Felt <[email protected]>:
test_eintr fails on AIX since fcntl functions were modified In issue35189 the fnctl() module was modified so that the EINTR interruption should be retried automatically. On AIX the test for flock() passes, but the test for lockf() fails: ====================================================================== > ERROR: test_lockf (__main__.FNTLEINTRTest) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/data/prj/python/git/python3-3.8/Lib/test/eintrdata/eintr_tester.py", > line 522, in test_lockf > self._lock(fcntl.lockf, "lockf") > File "/data/prj/python/git/python3-3.8/Lib/test/eintrdata/eintr_tester.py", > line 507, in _lock > lock_func(f, fcntl.LOCK_EX | fcntl.LOCK_NB) > PermissionError: [Errno 13] Permission denied > Researching... ---------- components: IO, Tests messages: 332846 nosy: Michael.Felt priority: normal severity: normal status: open title: test_eintr fails on AIX since fcntl functions were modified type: behavior versions: Python 3.7, Python 3.8 _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue35633> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
