Skip to content

Commit 7b62638

Browse files
committed
remove setuptools test command
not sure how this was here for this long Change-Id: I49e8bddb09f7e6fd63d1580d1f4e12c9d59f4d9e
1 parent 6e9fa04 commit 7b62638

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

setup.py

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,4 @@
1-
import sys
2-
31
from setuptools import setup
4-
from setuptools.command.test import test as TestCommand
5-
6-
7-
class UseTox(TestCommand):
8-
RED = 31
9-
RESET_SEQ = "\033[0m"
10-
BOLD_SEQ = "\033[1m"
11-
COLOR_SEQ = "\033[1;%dm"
12-
13-
def run_tests(self):
14-
sys.stderr.write(
15-
"%s%spython setup.py test is deprecated by pypa. Please invoke "
16-
"'tox' with no arguments for a basic test run.\n%s"
17-
% (self.COLOR_SEQ % self.RED, self.BOLD_SEQ, self.RESET_SEQ)
18-
)
19-
sys.exit(1)
202

213

22-
setup(
23-
cmdclass={"test": UseTox},
24-
)
4+
setup()

0 commit comments

Comments
 (0)