Re: [Python-ideas] unittest: 0 tests pass means failure of the testsuite

2019-03-06 Thread Matěj Cepl
Nathaniel Smith píše v St 06. 03. 2019 v 19:21 -0800: > You probably want to file a bug on the setuptools tracker: > https://github.com/pypa/setuptools > > It's maintained by different people than Python itself, and is > responsible for defining 'setup.py test'. I think we have to bugs (or defici

Re: [Python-ideas] unittest: 0 tests pass means failure of the testsuite

2019-03-06 Thread Serhiy Storchaka
06.03.19 22:12, Matěj Cepl пише: I am a lead maintainer of Python packages in OpenSUSE and I can see the pattern of many packagers adding blindly python setup.py test to %check section of our SPEC file. The problem is that if the package doesn't use unittest (it actually uses nose, pytest

Re: [Python-ideas] unittest: 0 tests pass means failure of the testsuite

2019-03-06 Thread Nathaniel Smith
On Wed, Mar 6, 2019 at 12:13 PM Matěj Cepl wrote: > > Hi, > > I am a lead maintainer of Python packages in OpenSUSE and I can > see the pattern of many packagers adding blindly > > python setup.py test > > to %check section of our SPEC file. The problem is that if the > package doesn't use uni

Re: [Python-ideas] unittest: 0 tests pass means failure of the testsuite

2019-03-06 Thread Terry Reedy
On 3/6/2019 3:12 PM, Matěj Cepl wrote: Hi, I am a lead maintainer of Python packages in OpenSUSE and I can see the pattern of many packagers adding blindly python setup.py test to %check section of our SPEC file. I am not familiar with setup.py, so I don't know how this affects the pre

Re: [Python-ideas] unittest: 0 tests pass means failure of the testsuite

2019-03-06 Thread Guido van Rossum
I would just file a bug and add a PR. On Wed, Mar 6, 2019 at 12:14 PM Matěj Cepl wrote: > Hi, > > I am a lead maintainer of Python packages in OpenSUSE and I can > see the pattern of many packagers adding blindly > > python setup.py test > > to %check section of our SPEC file. The problem is

Re: [Python-ideas] unittest: 0 tests pass means failure of the testsuite

2019-03-06 Thread MRAB
On 2019-03-06 20:12, Matěj Cepl wrote: Hi, I am a lead maintainer of Python packages in OpenSUSE and I can see the pattern of many packagers adding blindly python setup.py test to %check section of our SPEC file. The problem is that if the package doesn't use unittest (it actually uses no