Skip to content

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

Open
@fnordahl

Description

@fnordahl

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:

nose/nose/suite.py

Lines 102 to 105 in 7c26ad1

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions