Issue #19586: Update remaining deprecated assertions to their preferred usage.
Issue #19586: Update remaining deprecated assertions to their preferred usage.

pypa/setuptools,pypa/setuptools,pypa/setuptools