nose-devs / nose

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

collections.Callable has become collections.abc.Callable in python 3.10 + #1127

Open akshaydse opened 10 months ago

akshaydse commented 10 months ago

collections.Callable that has been used in _set_tests has become collections.abc.Callable is simple change can run it higher versions of python As one instance you can find it in _set_tests if isinstance(tests, collections.Callable) and not is_suite:

akshaydse commented 10 months ago

It is easily solvable by just adding two lines in nosetest bash file

Import collections.abc collections.Callable= collections.abc.Callable