Skip to content

Commit 099d2d6

Browse files
committed
Removing setuptools.command.test
Fixes internetarchive#33
1 parent 6934c32 commit 099d2d6

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

setup.py

-15
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
from setuptools import setup
2-
from setuptools.command.test import test as TestCommand
3-
4-
class PyTest(TestCommand):
5-
def finalize_options(self):
6-
TestCommand.finalize_options(self)
7-
self.test_suite = True
8-
9-
def run_tests(self):
10-
import pytest
11-
import sys
12-
cmdline = ' -v --cov surt tests/'
13-
errcode = pytest.main(cmdline)
14-
sys.exit(errcode)
15-
162

173
setup(name='surt',
184
version='0.3.1',
@@ -35,5 +21,4 @@ def run_tests(self):
3521
# Tests
3622
tests_require=[ 'pytest', 'pytest-cov' ],
3723
test_suite='',
38-
cmdclass={'test': PyTest},
3924
)

0 commit comments

Comments
 (0)