Page MenuHomePhabricator

[electrum] make functional tests works for python < 3.10
ClosedPublic

Authored by PiRK on Jul 17 2023, 10:57.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC7d51a4df89a3: [electrum] make functional tests works for python < 3.10
Summary

PEP 604 union types were added in Python 3.10, and we still support 3.7.

See https://peps.python.org/pep-0604/

Test Plan

With pyenv installed and pyenv install 3.7.0:

~/.pyenv/versions/3.7.0/bin/python -m pytest electrum/electrumabc/tests/regtest/

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable