From 405f2e2c2f84f1f435105a6b86244585262706a3 Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Thu, 21 Oct 2021 23:21:56 +0800 Subject: [PATCH] Update tests/core/pyspec/eth2spec/test/conftest.py Co-authored-by: Danny Ryan --- tests/core/pyspec/eth2spec/test/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/pyspec/eth2spec/test/conftest.py b/tests/core/pyspec/eth2spec/test/conftest.py index 751d4d3f1..b3c250c11 100644 --- a/tests/core/pyspec/eth2spec/test/conftest.py +++ b/tests/core/pyspec/eth2spec/test/conftest.py @@ -67,7 +67,7 @@ def preset(request): def run_phases(request): forks = request.config.getoption("--fork", default=None) if forks: - forks = [phase.lower() for phase in forks] + forks = [fork.lower() for fork in forks] _validate_fork_name(forks) context.DEFAULT_PYTEST_FORKS = set(forks) else: