Skip to content

Commit 6386772

Browse files
committed
Fix assertion
1 parent 6889b79 commit 6386772

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/framework/type_checking.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,9 @@ def test_check_type_of_param_value_checksums(self):
237237
],
238238
]
239239
for inp in inputs:
240-
self.assertTrue(check_type_of_param_value('checksums', inp), 'Failed for ' + str(inp))
240+
type_ok, newval = check_type_of_param_value('checksums', inp)
241+
self.assertIs(type_ok, True, 'Failed for ' + str(inp))
242+
self.assertEqual(newval, inp)
241243

242244
def test_check_type_of_param_value_patches(self):
243245
"""Test check_type_of_param_value function for patches."""

0 commit comments

Comments
 (0)