From c6f90c25e311e195eeede499911b0d7987d583a5 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 1 Dec 2015 22:20:40 -0200 Subject: [PATCH] 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 --- doc/en/goodpractises.rst | 5 ----- 1 file changed, 5 deletions(-) diff --git a/doc/en/goodpractises.rst b/doc/en/goodpractises.rst index dba521c50..cef754ec9 100644 --- a/doc/en/goodpractises.rst +++ b/doc/en/goodpractises.rst @@ -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