From 6c76675fe74f86020532cf746efcd1a308c7c83b Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Wed, 4 Nov 2015 16:33:19 -0800 Subject: [PATCH] setup: fix setup.py again --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index bb60756b..eeded1f2 100755 --- a/setup.py +++ b/setup.py @@ -22,11 +22,12 @@ long_description = open('README.rst').read() class PyTest(TestCommand): user_options = [] def initialize_options(self): + TestCommand.initialize_options(self) self._argv = [] - pass def finalize_options(self): - pass + TestCommand.finalize_options(self) + self.test_suite = True def run_tests(self): import pytest