summaryrefslogtreecommitdiff
path: root/tests/functional/r/regression_02/regression_distutil_import_error_73.py
blob: ddd96b65ec9b4d7e3ec3c4837d4efd84fd268120 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""
Regression test to check that distutils can be imported
See https://github.com/pylint-dev/pylint/issues/73

See also:
https://github.com/pylint-dev/pylint/issues/2955
https://github.com/pylint-dev/astroid/pull/1321
"""

# pylint: disable=unused-import, deprecated-module

import distutils.version
from distutils.util import strtobool
from distutils import doesnottexists # [no-name-in-module]
from distutils.doesnottexists import nope # [no-name-in-module, import-error]