bpo-20260: Implement non-bitwise unsigned int converters for Argument Clinic. (GH-8434)
diff --git a/Lib/test/test_hashlib.py b/Lib/test/test_hashlib.py
index 5b0218b..0f76b24 100644
--- a/Lib/test/test_hashlib.py
+++ b/Lib/test/test_hashlib.py
@@ -560,12 +560,12 @@
constructor(leaf_size=0)
constructor(leaf_size=(1<<32)-1)
- self.assertRaises(OverflowError, constructor, leaf_size=-1)
+ self.assertRaises(ValueError, constructor, leaf_size=-1)
self.assertRaises(OverflowError, constructor, leaf_size=1<<32)
constructor(node_offset=0)
constructor(node_offset=max_offset)
- self.assertRaises(OverflowError, constructor, node_offset=-1)
+ self.assertRaises(ValueError, constructor, node_offset=-1)
self.assertRaises(OverflowError, constructor, node_offset=max_offset+1)
constructor(