From 553bb2090add87a02f013f714dbe4d0f700bd722 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 10 Feb 2026 15:30:05 +0100 Subject: [PATCH] [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 e1adf8e9748506..ba2fa99707cd46 100644 --- a/Lib/test/test_dtrace.py +++ b/Lib/test/test_dtrace.py @@ -8,7 +8,7 @@ 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