MCPcopy
hub / github.com/django/django / unraisablehook

Method unraisablehook

tests/user_commands/tests.py:47–49  ·  view source on GitHub ↗
(unraisable)

Source from the content-addressed store, hash-verified

45 unraisable_exceptions = []
46
47 def unraisablehook(unraisable):
48 unraisable_exceptions.append(unraisable)
49 sys.__unraisablehook__(unraisable)
50
51 with mock.patch.object(sys, "unraisablehook", unraisablehook):
52 del wrapper

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected