1
0
Fork 0
mirror of synced 2024-05-01 11:03:03 +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)
class CustomTest(test):
class DisabledTestCommand(test):
def run(self):
# setup.py test is deprecated, disable it here by force so stdeb doesnt run it
#super().run()
pass
print('Use the ./bin/test.sh script to run tests, not setup.py test.')
setuptools.setup(
@ -129,6 +128,6 @@ setuptools.setup(
"Typing :: Typed",
],
cmdclass={
"test": CustomTest,
"test": DisabledTestCommand,
},
)