Skip to content

Commit 88d19e5

Browse files
committed
[utils] mark update-verify-tests tests unsupported with old Python
This utility uses the walrus operator introduced in Python 3.8, but this causes tests to fail in Amazon Linux 2 CI, which uses Python 3.7. Since this is not a shipped product, that doesn't really matter, and 3.7 is an ancient EOL version anyways. The premerge CI uses Python 3.9 and later, so use that as a basis, just to avoid the same issue in the future in case some Python 3.9 feature sneaks in. rdar://164151931
1 parent 4e04842 commit 88d19e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import sys
2+
3+
if sys.version_info < (3, 9):
4+
config.unsupported = True

0 commit comments

Comments
 (0)