**Describe the bug** The current version of `pytest` required by Sanic (5.2.1) is incompatible with Python 3.10 and throws an exception when running tests. **Expected behavior** Tests run on Python 3.10. **Additional context** A fix was released with `pytest` version `6.2.4`. See pytest's related issue: https://github.com/pytest-dev/pytest/issues/8539.