The distributed version of nose looks like this:
def _set_tests(self, tests):
self._precache = []
is_suite = isinstance(tests, unittest.TestSuite)
if isinstance(tests, collections.Callable) and not is_suite:
The same code in this repository is different:
|
def _set_tests(self, tests): |
|
self._precache = [] |
|
is_suite = isinstance(tests, unittest.TestSuite) |
|
if callable(tests) and not is_suite: |
According to git history the above has not changed in 15 years.
As a consequence the distributed version is not Python 3.10 compatible, and I don't know how to contribute a fix because it is apparently already fixed.
Is there any plans for a new version that contains the correct code?
The distributed version of
noselooks like this:The same code in this repository is different:
nose/nose/suite.py
Lines 102 to 105 in 7c26ad1
According to git history the above has not changed in 15 years.
As a consequence the distributed version is not Python 3.10 compatible, and I don't know how to contribute a fix because it is apparently already fixed.
Is there any plans for a new version that contains the correct code?