Skip to content

Commit 57ac4a1

Browse files
committed
Avoid settrace in tests
1 parent 487d647 commit 57ac4a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/lib-python/3/test/support/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1984,7 +1984,7 @@ def check_impl_detail(**guards):
19841984

19851985
def no_tracing(func):
19861986
"""Decorator to temporarily turn off tracing for the duration of a test."""
1987-
if not hasattr(sys, 'gettrace'):
1987+
if not hasattr(sys, 'settrace'):
19881988
return func
19891989
else:
19901990
@functools.wraps(func)

0 commit comments

Comments
 (0)