From 36aa0815cac736e3e56bda7eed5c48a95ebdb85d Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 10 Feb 2026 15:54:27 +0100 Subject: [PATCH] [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 --- Lib/test/test_dtrace.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.3