From 7b91c289d4166fdb5ccea93173cdace7d6ddde93 Mon Sep 17 00:00:00 2001 From: protolambda Date: Sun, 30 Jun 2019 16:46:40 +0200 Subject: [PATCH] fix shuffling generator, convert ValidatorIndex output to normal int --- test_generators/shuffling/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_generators/shuffling/main.py b/test_generators/shuffling/main.py index 291aa2c47..7e7b3f94b 100644 --- a/test_generators/shuffling/main.py +++ b/test_generators/shuffling/main.py @@ -10,7 +10,7 @@ from preset_loader import loader def shuffling_case(seed, count): yield 'seed', '0x' + seed.hex() yield 'count', count - yield 'shuffled', [spec.get_shuffled_index(i, count, seed) for i in range(count)] + yield 'shuffled', [int(spec.get_shuffled_index(i, count, seed)) for i in range(count)] @to_tuple