summaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/misc/sys_settrace_features.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/misc/sys_settrace_features.py b/tests/misc/sys_settrace_features.py
index 8ca6b382e3..6eeb2b900f 100644
--- a/tests/misc/sys_settrace_features.py
+++ b/tests/misc/sys_settrace_features.py
@@ -6,6 +6,10 @@ except AttributeError:
print("SKIP")
raise SystemExit
+if sys.version.startswith("3.12"):
+ # There is a CPython change in settrace that is reverted in 3.13!
+ print("WARNING: this test will fail when compared to CPython 3.12.x behaviour")
+
def print_stacktrace(frame, level=0):
# Ignore CPython specific helpers.