1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Description: Use sorted set for 32 bit systems
32 bit systems represent sets differently than 64 bit systems. Since Python
sets aren't ordered, one test was failing on 32 bit systems and passing on 64
bit systems.
TODO: remove this patch in the next upstream release.
Author: Manuel Guerra <ar.manuelguerra@gmail.com>
Forwarded: https://github.com/ethereum/eth-utils/pull/313
Last-Update: 2025-08-27
--- python-eth-utils-5.3.0.orig/tests/core/abi-utils/test_abi_utils.py
+++ python-eth-utils-5.3.0/tests/core/abi-utils/test_abi_utils.py
@@ -1506,8 +1506,7 @@ def test_get_aligned_abi_inputs(
"b": [[(14, 15), (16, 17)], [(18, 19)]],
},
TypeError,
- 'Expected non-string sequence for "tuple[]" component type: got '
- "{(9, 10), (5, 6), (7, 8)}",
+ 'Expected non-string sequence for "tuple[]" component type: got ',
),
(
ABI_FALLBACK,
|