mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
setup.py: better fix for test suite with latest setuptool
This commit is contained in:
parent
4303ce4ecb
commit
9f77ac50e7
6
setup.py
6
setup.py
@ -21,13 +21,9 @@ long_description = open('README.rst').read()
|
|||||||
|
|
||||||
class PyTest(TestCommand):
|
class PyTest(TestCommand):
|
||||||
user_options = []
|
user_options = []
|
||||||
def initialize_options(self):
|
|
||||||
TestCommand.initialize_options(self)
|
|
||||||
self._argv = []
|
|
||||||
|
|
||||||
def finalize_options(self):
|
def finalize_options(self):
|
||||||
TestCommand.finalize_options(self)
|
TestCommand.finalize_options(self)
|
||||||
self.test_suite = True
|
self.test_suite = ' '
|
||||||
|
|
||||||
def run_tests(self):
|
def run_tests(self):
|
||||||
import pytest
|
import pytest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user