Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

python 3.10 causes some issues when running the tests #1544

Closed
v1v opened this issue Jan 18, 2023 · 0 comments
Closed

python 3.10 causes some issues when running the tests #1544

v1v opened this issue Jan 18, 2023 · 0 comments
Assignees

Comments

@v1v
Copy link
Member

v1v commented Jan 18, 2023

  File "/tmp/venv-1720/lib/python3.10/site-packages/_pytest/assertion/rewrite.py", line 143, in exec_module
    source_stat, co = _rewrite_test(fn, self.config)
  File "/tmp/venv-1720/lib/python3.10/site-packages/_pytest/assertion/rewrite.py", line 330, in _rewrite_test
    co = compile(tree, fn, "exec", dont_inherit=True)
TypeError: required field "lineno" missing from alias

As per pytest-dev/pytest#9195 let's bump the versions

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant