[3.14] gh-138744: Skip test_dtrace on Windows (GH-144657)
(cherry picked from commit
8b4210c30e218b3533d5d5494dfcaf9f081fb384)
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Ken Jin <kenjin@python.org>
import unittest
from test import support
-from test.support import findfile
+from test.support import findfile, MS_WINDOWS
if not support.has_subprocess_support:
COMMAND = ["stap", "-g"]
+@unittest.skipIf(MS_WINDOWS, "Tests not compliant with trace on Windows.")
class TraceTests:
# unittest.TestCase options
maxDiff = None