Skip to content

Commit 965d757

Browse files
committed
[roottest] Ignore warning about Python GIL fallback in custom diff
This is important for the tests to work with the free-threaded Python build, at least as long as the ROOT and cppyy CPython extensions don't support free threading yet.
1 parent 7548ce3 commit 965d757

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

roottest/scripts/custom_diff.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def __init__(self):
3333
r"^In file included from input_line", # Wrapper input line
3434
r"^[:space:]*$", # Lines which are empty apart from spaces
3535
r"^Info in <TROOT>: Object auto registration", # ROOT 7 mode
36+
r"^<frozen importlib\._bootstrap>:\d+: RuntimeWarning: The global interpreter lock \(GIL\) has been enabled", # Free-threaded Python re-enabling the GIL to load a C extension that isn't GIL-safe
3637
]
3738
]
3839

0 commit comments

Comments
 (0)