diff --git a/tests/test_strace.py b/tests/test_strace.py index 2020a3b..89f77b6 100755 --- a/tests/test_strace.py +++ b/tests/test_strace.py @@ -86,7 +86,7 @@ def test_rename(self): def test_link(self): pattern = br"^link\('oldpath', 'newpath'\)" - if AARCH64 or RISCV: + if AARCH64 or RISCV or sys.version_info >= (3, 14): pattern = br"^linkat\(.*'oldpath'.*'newpath'.*\)" self.assert_syscall("import os; os.link('oldpath', 'newpath')", pattern)