Skip to content

Commit

Permalink
Merge 0fe147c into b504b24
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasb committed Oct 5, 2015
2 parents b504b24 + 0fe147c commit 3817a7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class PyTest(TestCommand):

def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = None
self.pytest_args = ''

def finalize_options(self):
TestCommand.finalize_options(self)
Expand All @@ -69,7 +69,7 @@ def finalize_options(self):

def run_tests(self):
import pytest
errno = pytest.main(self.pytest_args or [] + ["tests"])
errno = pytest.main(self.pytest_args + ' tests')
sys.exit(errno)

setup(
Expand Down

0 comments on commit 3817a7e

Please sign in to comment.