diff options
| author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-06-09 19:03:49 +0100 |
|---|---|---|
| committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-06-09 19:03:49 +0100 |
| commit | 6cae4d5522b7608bbbbe53073714d3be0961a1ed (patch) | |
| tree | 6e2bd99a3e394075a00509262556a19e9380bb70 /setuptools/command | |
| parent | 7a68599ca8794d1d1b7d358e6f79791547f7740f (diff) | |
| download | python-setuptools-git-6cae4d5522b7608bbbbe53073714d3be0961a1ed.tar.gz | |
Test that users are informed about subcommands in distutils
Diffstat (limited to 'setuptools/command')
| -rw-r--r-- | setuptools/command/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/build.py b/setuptools/command/build.py index 932de472..7ab60ce6 100644 --- a/setuptools/command/build.py +++ b/setuptools/command/build.py @@ -19,6 +19,6 @@ class build(_build): new subcommands. Using `distutils` directly is considered deprecated, please use `setuptools.command.build`. """ - warnings.warns(msg, SetuptoolsDeprecationWarning) + warnings.warn(msg, SetuptoolsDeprecationWarning) self.sub_commands = _build.sub_commands super().run() |
