nose-devs / nose

nose is nicer testing for python
http://readthedocs.org/docs/nose/en/latest/
1.36k stars 397 forks source link

Distributed version of nose differ from GitHub repository and is not Python 3.10 compatible #1118

Open fnordahl opened 2 years ago

fnordahl commented 2 years ago

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: https://github.com/nose-devs/nose/blob/7c26ad1e6b7d308cafa328ad34736d34028c122a/nose/suite.py#L102-L105

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?

datalogics-robb commented 2 years ago

@fnordahl this project hasn't been maintained for many years. The last PR merged was 6 years ago, and I think the official stance even then was this was no longer maintained.

matkoniecz commented 2 years ago

@datalogics-robb Can you recomment some alternatives?

dirkf commented 1 year ago

1099