Skip to content
Draft
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
Prev Previous commit
Next Next commit
patch out regrtest
  • Loading branch information
arihant2math committed Apr 27, 2025
commit a80c0dc2562350b2c57a47ea4c88f4489f3e106e
10 changes: 6 additions & 4 deletions Lib/test/libregrtest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ def printlist(x, width=70, indent=4, file=None):
def print_warning(msg: str) -> None:
support.print_warning(msg)


orig_unraisablehook: Callable[..., None] | None = None

# TODO: RUSTPYTHON
# orig_unraisablehook: Callable[..., None] | None = None
orig_unraisablehook = None

def regrtest_unraisable_hook(unraisable) -> None:
global orig_unraisablehook
Expand All @@ -151,7 +151,9 @@ def setup_unraisable_hook() -> None:
sys.unraisablehook = regrtest_unraisable_hook


orig_threading_excepthook: Callable[..., None] | None = None
# TODO: RUSTPYTHON
# orig_threading_excepthook: Callable[..., None] | None = None
orig_threading_excepthook = None


def regrtest_threading_excepthook(args) -> None:
Expand Down
Loading