From 14ffadf004f8111338d201dcd7883b714df09a4d Mon Sep 17 00:00:00 2001 From: Andrew Champion Date: Fri, 24 Aug 2018 12:07:22 -0700 Subject: [PATCH 1/2] correct cmdclass --- doc/en/goodpractices.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/goodpractices.rst b/doc/en/goodpractices.rst index 87d446d0d..b3d903bad 100644 --- a/doc/en/goodpractices.rst +++ b/doc/en/goodpractices.rst @@ -291,7 +291,7 @@ your own setuptools Test command for invoking pytest. setup( # ..., tests_require=["pytest"], - cmdclass={"test": PyTest}, + cmdclass={"pytest": PyTest}, ) Now if you run:: From f6948597e41e4e8029345d42bffe67f36d797e3a Mon Sep 17 00:00:00 2001 From: Andrew Champion Date: Fri, 24 Aug 2018 12:29:18 -0700 Subject: [PATCH 2/2] add to changelog --- changelog/3870.doc.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog/3870.doc.rst diff --git a/changelog/3870.doc.rst b/changelog/3870.doc.rst new file mode 100644 index 000000000..c56e10d11 --- /dev/null +++ b/changelog/3870.doc.rst @@ -0,0 +1 @@ +correct documentation for setuptools integration