mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Sys imported twice.
This commit is contained in:
parent
d673ffa9bc
commit
c6d650ebd2
2
setup.py
2
setup.py
@ -55,7 +55,7 @@ class PyTest(Command):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
import sys,subprocess
|
import subprocess
|
||||||
basecmd = [sys.executable, '-m', 'pytest']
|
basecmd = [sys.executable, '-m', 'pytest']
|
||||||
if self.cov:
|
if self.cov:
|
||||||
basecmd += ['--cov', 'gunicorn']
|
basecmd += ['--cov', 'gunicorn']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user