Skip to content

Commit 7b26ca8

Browse files
committed
fix: version check regex in test
Signed-off-by: Chen Sun <chensun@users.noreply.github.com>
1 parent 516ccbd commit 7b26ca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/python/kfp/cli/cli_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def setUp(self):
139139
def test_version(self):
140140
result = self.invoke(args=['--version'])
141141
self.assertEqual(result.exit_code, 0)
142-
matches = re.match(r'^kfp \d\.\d\.\d.*', result.output)
142+
matches = re.match(r'^kfp \d+\.\d+\.\d+.*', result.output)
143143
self.assertTrue(matches)
144144

145145

0 commit comments

Comments
 (0)