[issue43426] test_importlib.test_windows emits deprecation warning over usage of distutils

2021-04-14 Thread STINNER Victor
STINNER Victor added the comment: It should be fixed by: commit 1899087b21119c5c64cd41619b542c0bf0ab5751 Author: Brett Cannon Date: Fri Mar 26 11:55:07 2021 -0700 bpo-42136: Deprecate module_repr() as found in importlib (GH-25022) -- nosy: +vstinner resolution: -> fixed stage

[issue43426] test_importlib.test_windows emits deprecation warning over usage of distutils

2021-03-06 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : test_windows uses distutil which emits a deprecation warning due to distutils being deprecated. sysconfig.get_platform and distutils.util.get_host_platform seem to be identical though distutils.util.get_platform has an extra if clause for nt syst