Skip to content

Commit

Permalink
Update tests/test_check_parallel.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
  • Loading branch information
daniel-wer and DanielNoord committed Dec 12, 2022
1 parent 30af13a commit e164bea
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/test_check_parallel.py
Expand Up @@ -27,12 +27,8 @@
from pylint.typing import FileItem
from pylint.utils import LinterStats, ModuleStats

try:
from concurrent.futures import ProcessPoolExecutor
from concurrent.futures.process import BrokenProcessPool
except ImportError:
ProcessPoolExecutor = None # type: ignore[assignment,misc]
BrokenProcessPool = None # type: ignore[assignment,misc]
from concurrent.futures import ProcessPoolExecutor
from concurrent.futures.process import BrokenProcessPool


def _gen_file_data(idx: int = 0) -> FileItem:
Expand Down

0 comments on commit e164bea

Please sign in to comment.