mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +03:00
Merge pull request #4393 from jdufresne/pytest-runner
Remove deprecated pytest-runner support
This commit is contained in:
commit
52ea75a510
3
Makefile
3
Makefile
|
@ -15,8 +15,7 @@ co:
|
|||
done
|
||||
|
||||
coverage:
|
||||
python3 selftest.py
|
||||
python3 setup.py test
|
||||
pytest -qq
|
||||
rm -r htmlcov || true
|
||||
coverage report
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
[aliases]
|
||||
test=pytest
|
||||
|
||||
[flake8]
|
||||
extend-ignore = E203, W503
|
||||
max-line-length = 88
|
||||
|
|
5
setup.py
5
setup.py
|
@ -845,9 +845,6 @@ def debug_build():
|
|||
return hasattr(sys, "gettotalrefcount")
|
||||
|
||||
|
||||
needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
|
||||
pytest_runner = ["pytest-runner"] if needs_pytest else []
|
||||
|
||||
try:
|
||||
setup(
|
||||
name=NAME,
|
||||
|
@ -884,8 +881,6 @@ try:
|
|||
cmdclass={"build_ext": pil_build_ext},
|
||||
ext_modules=[Extension("PIL._imaging", ["_imaging.c"])],
|
||||
include_package_data=True,
|
||||
setup_requires=pytest_runner,
|
||||
tests_require=["pytest"],
|
||||
packages=["PIL"],
|
||||
package_dir={"": "src"},
|
||||
keywords=["Imaging"],
|
||||
|
|
Loading…
Reference in New Issue
Block a user