File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1781,13 +1781,10 @@ def test_initconfig_api(self):
1781
1781
'perf_profiling' : 2 ,
1782
1782
}
1783
1783
config_dev_mode (preconfig , config )
1784
- using_jit = any (x .startswith ("JIT" ) for x in get_build_info ())
1785
- if using_jit :
1786
- stderr = "<sys>:0: RuntimeWarning: JIT deactivated as perf profiling support is active"
1787
- else :
1788
- stderr = ""
1784
+ # Temporarily enable ignore_stderr=True to ignore warnings on JIT builds
1785
+ # See gh-126255 for more information
1789
1786
self .check_all_configs ("test_initconfig_api" , config , preconfig ,
1790
- api = API_ISOLATED , stderr = stderr )
1787
+ api = API_ISOLATED , ignore_stderr = True )
1791
1788
1792
1789
def test_initconfig_get_api (self ):
1793
1790
self .run_embedded_interpreter ("test_initconfig_get_api" )
You can’t perform that action at this time.
0 commit comments