Skip to content

Commit

Permalink
revert pytest args
Browse files Browse the repository at this point in the history
  • Loading branch information
solomon-negusse committed Dec 3, 2015
1 parent 8b71042 commit f51596e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@


class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]

def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = []

def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
Expand All @@ -20,7 +14,7 @@ def finalize_options(self):
def run_tests(self):
# import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.pytest_args)
errno = pytest.main(self.test_args)
sys.exit(errno)


Expand Down

0 comments on commit f51596e

Please sign in to comment.