Skip to content

Commit 79c966c

Browse files
committed
Ignore stderr
1 parent cb19fc2 commit 79c966c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Lib/test/test_embed.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1781,13 +1781,10 @@ def test_initconfig_api(self):
17811781
'perf_profiling': 2,
17821782
}
17831783
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
17891786
self.check_all_configs("test_initconfig_api", config, preconfig,
1790-
api=API_ISOLATED, stderr=stderr)
1787+
api=API_ISOLATED, ignore_stderr=True)
17911788

17921789
def test_initconfig_get_api(self):
17931790
self.run_embedded_interpreter("test_initconfig_get_api")

0 commit comments

Comments
 (0)