Remove finalize_options override from goodpractices
This is not required in latest versions of `setuptools`, and `self.test_args` is a read-only attribute in some of the versions of the 18.X series. Fix #1134
This commit is contained in:
parent
f0e5cb362e
commit
c6f90c25e3
|
@ -276,11 +276,6 @@ get started with setuptools integration::
|
|||
TestCommand.initialize_options(self)
|
||||
self.pytest_args = []
|
||||
|
||||
def finalize_options(self):
|
||||
TestCommand.finalize_options(self)
|
||||
self.test_args = []
|
||||
self.test_suite = True
|
||||
|
||||
def run_tests(self):
|
||||
#import here, cause outside the eggs aren't loaded
|
||||
import pytest
|
||||
|
|
Loading…
Reference in New Issue