Skip to content

Commit b377527

Browse files
committed
fixup tests
1 parent e10a0fb commit b377527

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/python/python_tests.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -781,13 +781,13 @@ def _test_single_version_platform_override_errors(env):
781781
overrides = [
782782
_single_version_platform_override(python_version = "3.12", platform = "foo"),
783783
],
784-
want_error = "The 'python_version' attribute needs to conform to PEP440 versions, got: '3.12'",
784+
want_error = "The 'python_version' attribute needs to specify an 'X.Y.Z' semver-compatible version, got: '3.12'",
785785
),
786786
struct(
787787
overrides = [
788788
_single_version_platform_override(python_version = "3.12.1+my_build", platform = "foo"),
789789
],
790-
want_error = "The 'python_version' attribute needs to specify an 'X.Y.Z' semver-compatible version, got: '3.12.1+my_build'",
790+
want_error = "The 'python_version' attribute needs to specify an 'X.Y.Z' semver-compatible version, got: '3.12.1+my.build'",
791791
),
792792
]:
793793
errors = []

0 commit comments

Comments
 (0)