Remove remaining nosetest settings in favor of pytest (#8129)

This commit is contained in:
Christian Clauss 2023-02-14 20:59:11 +01:00 committed by GitHub
parent 9c712588d7
commit 5c5cb51351
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 11 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
.coverage
.noseids
Kivy.egg-info
Kivy-*.dist-info
*.so

View File

@ -129,7 +129,6 @@ clean:
-rm -rf build
-rm -rf htmlcov
-rm -f .coverage
-rm -f .noseids
-rm -rf kivy/tests/build
-find kivy -iname '*.so' -exec rm {} \;
-find kivy -iname '*.pyd' -exec rm {} \;
@ -165,7 +164,7 @@ help:
@echo " install run a setup.py install"
@echo " mesabuild for a build with MesaGL"
@echo " style to check Python code for style issues"
@echo " test run unittests (nosetests)"
@echo " test run unittests (pytest)"
@echo " theming create a default theme atlas"
@echo " "
@echo "You can also 'cd doc && make help' to build more documentation types"

View File

@ -341,7 +341,7 @@ if any(name in sys.argv[0] for name in (
environ['KIVY_DOC'] = '1'
if 'sphinx-build' in sys.argv[0]:
environ['KIVY_DOC_INCLUDE'] = '1'
if any(('nosetests' in arg or 'pytest' in arg) for arg in sys.argv):
if any('pytest' in arg for arg in sys.argv):
environ['KIVY_UNITTEST'] = '1'
if any('pyinstaller' in arg.lower() for arg in sys.argv):
environ['KIVY_PACKAGING'] = '1'

View File

@ -1,10 +1,3 @@
[nosetests]
with-coverage=1
cover-package=kivy
with-id=1
verbosity=2
logging-level=DEBUG
[kivy]
cython_min=0.24
cython_max=0.29.32