Scripts which are designed to run with Python 3 only must not be tested with Python 2.
This is related to
- pywikibot-core-tox-docker
- pywikibot-core-tox-fasttest-py27-docker
- Travis
- Appveyor
For example https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/595329/ cannot work with Python 2.
(I hope we can drop Python 2 support before we need to fix either those scripts or the related tests)