[Reproducible-commits] [diffoscope] 06/11: Fix non-working PyTest class in setup.py
Jérémy Bobbio
lunar at moszumanska.debian.org
Sat Nov 7 16:29:01 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository diffoscope.
commit 1e35d588e7c4b83129bb4e85b56607ba7ff4d269
Author: Jérémy Bobbio <lunar at debian.org>
Date: Sat Nov 7 16:36:31 2015 +0100
Fix non-working PyTest class in setup.py
---
setup.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/setup.py b/setup.py
index 62cc5f9..9d6b9a5 100644
--- a/setup.py
+++ b/setup.py
@@ -9,13 +9,11 @@ class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
- TestCommand.initialize_options(self)
+ super().initialize_options()
self.pytest_args = []
def finalize_options(self):
- TestCommand.finalize_options(self)
- self.test_args = []
- self.test_suite = True
+ super().finalize_options()
def run_tests(self):
#import here, cause outside the eggs aren't loaded
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the Reproducible-commits
mailing list