nose-devs / nose

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

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

Open akshaydse opened 1 year ago

akshaydse commented 1 year 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 1 year ago

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

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