Browse Source

Fix setup.py test command

sh4nks 9 years ago
parent
commit
0680ba09c4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      setup.py

+ 2 - 2
setup.py

@@ -32,11 +32,11 @@ class PyTestCommand(TestCommand):
     user_options = [('pytest-args=', 'a', 'Arguments to pass to py.test')]
 
     def initialize_options(self):
-        super(PyTestCommand, self).initialize_options()
+        TestCommand.initialize_options(self)
         self.pytest_args = []
 
     def finalize_options(self):
-        super(PyTestCommand, self).finalize_options()
+        TestCommand.finalize_options(self)
         self.test_args = []
         self.test_suite = True