File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed
Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,6 @@ exclude =
4646 tests
4747 extern
4848
49- [aliases]
50- test = pytest
51-
5249[tool:pytest]
5350addopts = --benchmark-disable
5451testpaths =
Original file line number Diff line number Diff line change 77import os
88
99
10- # Official trick to avoid pytest-runner as requirement if not needed
11- needs_pytest = {"pytest" , "test" , "ptr" }.intersection (sys .argv )
12- pytest_runner = ["pytest-runner" ] if needs_pytest else []
13-
1410# Use -j N or set the environment variable NPY_NUM_BUILD_JOBS
1511try :
1612 from numpy .distutils .ccompiler import CCompiler_compile
@@ -114,9 +110,6 @@ def build_extensions(self):
114110setup (
115111 ext_modules = ext_modules ,
116112 cmdclass = {"build_ext" : BuildExt },
117- test_suite = "tests" ,
118113 install_requires = ["numpy" ],
119- tests_require = extras ["test" ],
120- setup_requires = [] + pytest_runner ,
121114 extras_require = extras ,
122115)
You can’t perform that action at this time.
0 commit comments