Skip to content

Commit fdc384b

Browse files
authored
Update Lib/test/test_hashlib.py
1 parent 18de16e commit fdc384b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_hashlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def test_clinic_signature_errors(self):
263263
"and support for 'string' keyword parameter "
264264
"is slated for removal in a future version."
265265
)
266-
duplicated_param = re.escape("got multiple values for argument")
266+
duplicated_param = re.escape("given by name ('data') and position")
267267
for constructor in self.hash_constructors:
268268
with self.subTest(constructor.__name__):
269269
with self.assertRaisesRegex(TypeError, conflicting_call):

0 commit comments

Comments
 (0)