Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update warning to satisfy tests
  • Loading branch information
zooba committed Jan 27, 2021
commit 6a6a40d98e02bd5e71e263292f7a4b5efb34979a
7 changes: 4 additions & 3 deletions Lib/distutils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

__version__ = sys.version[:sys.version.index(' ')]

warnings.warn("distutils is deprecated and slated for removal in "
"Python 3.12. Use setuptools or try PEP 632 for "
"potential alternatives", DeprecationWarning)
warnings.warn("The distutils package deprecated and slated for "
"removal in Python 3.12. Use setuptools or check "
"PEP 632 for potential alternatives",
DeprecationWarning)