Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Commit b6f56e6

Browse files
committed
fix test
1 parent c216a99 commit b6f56e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compatibility_lib/compatibility_lib/test_semver_checker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ def test_semver_check_on_modified_optional_args(self):
122122
('main.bar: default value was not preserved; '
123123
'expecting "d=2", got "d=1"'),
124124
'main.baz: bad arg name; expected "name", got "first_name"']
125-
self.assertEqual(expected, res)
125+
for errmsg in res:
126+
self.assertTrue(errmsg in expected)
126127

127128
def test_semver_check_on_converted_optional_args(self):
128129
old_dir = os.path.join(TEST_DIR, 'optional_args/converted/0.1.0')

0 commit comments

Comments
 (0)