bpo-41282: Consistent message and filter warning in setup.py (GH-25571)

Signed-off-by: Christian Heimes <christian@python.org>
This commit is contained in:
Christian Heimes 2021-04-24 09:55:15 +02:00 committed by GitHub
parent c8666cfa7c
commit a460ab3134
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 3 deletions

View file

@ -57,7 +57,7 @@ if os.name == "nt":
from sysconfig import _fix_pcbuild
warnings.warn(
'the distutils.sysconfig module is deprecated, use sysconfig instead',
'The distutils.sysconfig module is deprecated, use sysconfig instead',
DeprecationWarning,
stacklevel=2
)