From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 10 Feb 2026 14:54:27 +0000 (+0100) Subject: [3.13] gh-138744: Skip test_dtrace on Windows (GH-144657) (#144668) X-Git-Tag: v3.13.13~200 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=36aa0815cac736e3e56bda7eed5c48a95ebdb85d;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-138744: Skip test_dtrace on Windows (GH-144657) (#144668) [3.14] gh-138744: Skip test_dtrace on Windows (GH-144657) (cherry picked from commit 8b4210c30e218b3533d5d5494dfcaf9f081fb384) Co-authored-by: Victor Stinner Co-authored-by: Ken Jin --- diff --git a/Lib/test/test_dtrace.py b/Lib/test/test_dtrace.py index e1adf8e97485..ba2fa99707cd 100644 --- a/Lib/test/test_dtrace.py +++ b/Lib/test/test_dtrace.py @@ -8,7 +8,7 @@ import types import unittest from test import support -from test.support import findfile +from test.support import findfile, MS_WINDOWS if not support.has_subprocess_support: @@ -103,6 +103,7 @@ class SystemTapBackend(TraceBackend): COMMAND = ["stap", "-g"] +@unittest.skipIf(MS_WINDOWS, "Tests not compliant with trace on Windows.") class TraceTests: # unittest.TestCase options maxDiff = None