Upgrade test tools so they are compatible with Python 3.8
This is a superset of https://github.com/open-craft/opencraft/pull/803 which contains linting fixes.
This is a superset of https://github.com/open-craft/opencraft/pull/803 which contains linting fixes.