File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 8
8
import sys
9
9
10
10
11
- # This command has been borrowed from
12
- # https://github.com/getsentry/sentry/blob/master/setup.py
13
- class PyTest (TestCommand ):
14
- def finalize_options (self ):
15
- TestCommand .finalize_options (self )
16
- self .test_args = ['tests' ]
17
- self .test_suite = True
18
-
19
- def run_tests (self ):
20
- import pytest
21
- errno = pytest .main (self .test_args )
22
- sys .exit (errno )
23
-
24
-
25
11
def get_version (package ):
26
12
"""
27
13
Return package version as listed in `__version__` in `init.py`.
@@ -80,7 +66,6 @@ def get_package_data(package):
80
66
author_email = '[email protected] ' ,
# SEE NOTE BELOW (*)
81
67
packages = get_packages ('rest_framework' ),
82
68
package_data = get_package_data ('rest_framework' ),
83
- cmdclass = {'test' : PyTest },
84
69
install_requires = [],
85
70
classifiers = [
86
71
'Development Status :: 5 - Production/Stable' ,
You can’t perform that action at this time.
0 commit comments