pytest-dev / nose2pytest

Scripts to convert Python Nose tests to PyTest
Other
38 stars 12 forks source link

Add Python 3.9 and 3.10 to the testing #21

Closed cclauss closed 1 year ago

cclauss commented 2 years ago

https://pythoninsider.blogspot.com/2021/10/python-3100-is-available.html

"3.10" must be quoted in YAML. https://dev.to/hugovk/the-python-3-1-problem-85g

cclauss commented 2 years ago

Yes. I looked briefly at them and https://github.com/python/cpython/tree/main/Lib/lib2to3 and could not make sense of how they are derived.

Hopefully, time for a new release of nose2pytest given that nose.tools.assert_equals() will raise an AttributeError on Python >= 3.10 and the PyPI version of nose2pytest is far less powerful than the current code in this repo.

nicoddemus commented 2 years ago

Yes, see https://github.com/pytest-dev/nose2pytest/issues/15