summaryrefslogtreecommitdiff
path: root/Lib/test/libregrtest/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/libregrtest/setup.py')
-rw-r--r--Lib/test/libregrtest/setup.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/libregrtest/setup.py b/Lib/test/libregrtest/setup.py
index fb5ac350cd..36676bfa61 100644
--- a/Lib/test/libregrtest/setup.py
+++ b/Lib/test/libregrtest/setup.py
@@ -10,6 +10,8 @@ try:
except ImportError:
gc = None
+from test.libregrtest.utils import setup_unraisable_hook
+
def setup_tests(ns):
try:
@@ -93,6 +95,8 @@ def setup_tests(ns):
pass
sys.addaudithook(_test_audit_hook)
+ setup_unraisable_hook()
+
def suppress_msvcrt_asserts(verbose):
try: