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 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::