Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix test_dtrace.py
  • Loading branch information
ShaharNaveh committed Sep 10, 2025
commit 201f0ea2bcff4ddaf5223defcad9b413d6ae8770
32 changes: 32 additions & 0 deletions Lib/test/test_dtrace.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,43 @@ class DTraceNormalTests(TraceTests, unittest.TestCase):
backend = DTraceBackend()
optimize_python = 0

@unittest.expectedFailureIfWindows('TODO: RUSTPYTHON')
def test_function_entry_return(self):
return super().test_function_entry_return()

@unittest.expectedFailureIfWindows('TODO: RUSTPYTHON')
def test_verify_call_opcodes(self):
return super().test_verify_call_opcodes()

@unittest.expectedFailureIfWindows('TODO: RUSTPYTHON')
def test_gc(self):
return super().test_gc()

@unittest.expectedFailureIfWindows('TODO: RUSTPYTHON')
def test_line(self):
return super().test_line()


class DTraceOptimizedTests(TraceTests, unittest.TestCase):
backend = DTraceBackend()
optimize_python = 2

@unittest.expectedFailureIfWindows('TODO: RUSTPYTHON')
def test_function_entry_return(self):
return super().test_function_entry_return()

@unittest.expectedFailureIfWindows('TODO: RUSTPYTHON')
def test_verify_call_opcodes(self):
return super().test_verify_call_opcodes()

@unittest.expectedFailureIfWindows('TODO: RUSTPYTHON')
def test_gc(self):
return super().test_gc()

@unittest.expectedFailureIfWindows('TODO: RUSTPYTHON')
def test_line(self):
return super().test_line()


class SystemTapNormalTests(TraceTests, unittest.TestCase):
backend = SystemTapBackend()
Expand Down