summaryrefslogtreecommitdiff
path: root/tests/functional/r/regression_02/regression_distutil_import_error_73.py
blob: d40c0973fe68519c5e1f5a83a6fbe736b0ef5353 (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/PyCQA/pylint/issues/73

See also:
https://github.com/PyCQA/pylint/issues/2955
https://github.com/PyCQA/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]