[3.13] gh-137397: Skip test_os_open on NetBSD due to indefinite hang (GH-137398) (#137407)

gh-137397: Skip test_os_open on NetBSD due to indefinite hang (GH-137398)
(cherry picked from commit 7f416c8674)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
This commit is contained in:
Miss Islington (bot) 2025-08-05 10:55:53 +02:00 committed by GitHub
parent 3c37483731
commit 25c221f5e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -369,6 +369,8 @@ def os_open(self, path):
@unittest.skipIf(sys.platform == "darwin",
"hangs under macOS; see bpo-25234, bpo-35363")
@unittest.skipIf(sys.platform.startswith('netbsd'),
"hangs on NetBSD; see gh-137397")
def test_os_open(self):
self._test_open("fd = os.open(path, os.O_RDONLY)\nos.close(fd)",
self.os_open)