Skip to content

Commit c0f2fe2

Browse files
setup: fix lint reworks
Follows #270
1 parent 4837024 commit c0f2fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/setup_command.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
try:
1111
from setuptools.errors import BaseError
12-
except ModuleNotFoundError:
12+
except (ModuleNotFoundError, ImportError):
1313
# pylint: disable=deprecated-module
1414
from distutils.errors import DistutilsError as BaseError
1515

0 commit comments

Comments
 (0)