Skip to content

Commit

Permalink
[PR #3752/12b8e8c0 backport][3.8] Drop setup.py test support (#6164)
Browse files Browse the repository at this point in the history
(cherry picked from commit 12b8e8c)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
  • Loading branch information
webknjaz and asvetlov authored Oct 28, 2021
1 parent 4b3b36c commit d20e8bc
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,6 @@ def read(f):
return (here / f).read_text("utf-8").strip()


NEEDS_PYTEST = {"pytest", "test"}.intersection(sys.argv)
pytest_runner = ["pytest-runner"] if NEEDS_PYTEST else []

tests_require = [
"pytest",
"gunicorn",
"pytest-timeout",
"async-generator",
"pytest-xdist",
]


args = dict(
name="aiohttp",
version=version,
Expand Down Expand Up @@ -144,8 +132,6 @@ def read(f):
"cchardet",
],
},
tests_require=tests_require,
setup_requires=pytest_runner,
include_package_data=True,
ext_modules=extensions,
cmdclass=dict(build_ext=ve_build_ext),
Expand Down

0 comments on commit d20e8bc

Please sign in to comment.