Skip to content

Commit

Permalink
Ignore stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
Eclips4 committed Nov 1, 2024
1 parent cb19fc2 commit 79c966c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Lib/test/test_embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -1781,13 +1781,10 @@ def test_initconfig_api(self):
'perf_profiling': 2,
}
config_dev_mode(preconfig, config)
using_jit = any(x.startswith("JIT") for x in get_build_info())
if using_jit:
stderr = "<sys>:0: RuntimeWarning: JIT deactivated as perf profiling support is active"
else:
stderr = ""
# Temporarily enable ignore_stderr=True to ignore warnings on JIT builds
# See gh-126255 for more information
self.check_all_configs("test_initconfig_api", config, preconfig,
api=API_ISOLATED, stderr=stderr)
api=API_ISOLATED, ignore_stderr=True)

def test_initconfig_get_api(self):
self.run_embedded_interpreter("test_initconfig_get_api")
Expand Down

0 comments on commit 79c966c

Please sign in to comment.