An error while trying to execute tests on python 3.10 with pytest

Viewed 20225

If I try to execute tests using pytest with python 3.10 I got the following error:

TypeError: required field "lineno" missing from alias

Google says it's a known problem, but I found no way to solve it.
Tests start fine if I launch them with 3.9

2 Answers

Update the pytest pypi:

pip install -U pytest
Related