]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-138744: Skip test_dtrace on Windows (#144657)
authorVictor Stinner <vstinner@python.org>
Tue, 10 Feb 2026 14:30:05 +0000 (15:30 +0100)
committerGitHub <noreply@github.com>
Tue, 10 Feb 2026 14:30:05 +0000 (15:30 +0100)
Co-authored-by: Ken Jin <kenjin@python.org>
Lib/test/test_dtrace.py

index e1adf8e97485067a869017ea35d1be843c9cb6b0..ba2fa99707cd469f6e45cb75ebdabe806258c67c 100644 (file)
@@ -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