We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d343d4 commit 59c6bd8Copy full SHA for 59c6bd8
Lib/test/support/strace_helper.py
@@ -1,3 +1,4 @@
1
+import os
2
import re
3
import sys
4
import textwrap
@@ -160,6 +161,9 @@ def requires_strace():
160
161
if sys.platform != "linux":
162
return unittest.skip("Linux only, requires strace.")
163
164
+ if "LD_PRELOAD" in os.environ:
165
+ return unittest.skip("LD_PRELOAD can cause extra syscalls")
166
+
167
if support.check_sanitizer(address=True, memory=True):
168
return unittest.skip("LeakSanitizer does not work under ptrace (strace, gdb, etc)")
169
0 commit comments