Overview
Request 788496 superseded
- Add remove_nose.patch
* as nose won't work with Python 3.9/3.10
- Created by polslinux
- In state superseded
- Superseded by 788519
Request History
polslinux created request
- Add remove_nose.patch
* as nose won't work with Python 3.9/3.10
scarabeus_iv declined request
+%if %{with python2}
41+%python_exec -m unittest2 discover -s tests/ -v
42+%else
43+%python_exec -m unittest discover -s tests/ -v
44+%endif
This does not do what you expect.
You can see it will run both of the langs under unittest https://build.opensuse.org/build/home:polslinux:branches:devel:languages:python/openSUSE_Tumbleweed/x86_64/python-exam/_log as you dont have any %bcond_without python2 on top.
Also for upstream pr he can just use unittest (the python 2.6 is dead for ages).
superseded by 788519