1
0
Fork 0
mirror of synced 2024-05-21 21:02:29 +12:00

slightly tweak test verbiage

This commit is contained in:
Nick Sweeting 2021-02-08 12:14:09 -05:00
parent d4aa8f6237
commit 08161a526b

View file

@ -33,11 +33,10 @@ VERSION = json.loads((PACKAGE_DIR / "package.json").read_text().strip())['versio
# print('>', sys.executable, *sys.argv) # print('>', sys.executable, *sys.argv)
class CustomTest(test): class DisabledTestCommand(test):
def run(self): def run(self):
# setup.py test is deprecated, disable it here by force so stdeb doesnt run it # setup.py test is deprecated, disable it here by force so stdeb doesnt run it
#super().run() print('Use the ./bin/test.sh script to run tests, not setup.py test.')
pass
setuptools.setup( setuptools.setup(
@ -129,6 +128,6 @@ setuptools.setup(
"Typing :: Typed", "Typing :: Typed",
], ],
cmdclass={ cmdclass={
"test": CustomTest, "test": DisabledTestCommand,
}, },
) )