Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be3e15d

Browse files
committed
gh-103053: Skip test_tools on s390x and with PGO enabled
1 parent 848bdbe commit be3e15d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Lib/test/test_tools/test_freeze.py

+7
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@
1212
with imports_under_tool('freeze', 'test'):
1313
import freeze as helper
1414

15+
# See gh-103053:
16+
skip_on_s390x_pgo = unittest.skipIf(
17+
support.PGO and hasattr(os, 'uname') and os.uname().machine == 's390x',
18+
's390x with PGO takes too long',
19+
)
20+
21+
@skip_on_s390x_pgo
1522
@support.requires_zlib()
1623
@unittest.skipIf(sys.platform.startswith('win'), 'not supported on Windows')
1724
@support.skip_if_buildbot('not all buildbots have enough space')

0 commit comments

Comments
 (0)