Skip to content

Commit

Permalink
fix: version check regex in test
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Sun <[email protected]>
  • Loading branch information
chensun committed Nov 8, 2024
1 parent 516ccbd commit 7b26ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/kfp/cli/cli_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def setUp(self):
def test_version(self):
result = self.invoke(args=['--version'])
self.assertEqual(result.exit_code, 0)
matches = re.match(r'^kfp \d\.\d\.\d.*', result.output)
matches = re.match(r'^kfp \d+\.\d+\.\d+.*', result.output)
self.assertTrue(matches)


Expand Down

0 comments on commit 7b26ca8

Please sign in to comment.