Skip to content

Commit

Permalink
src/sage/doctest/forker.py: Do not mask ImportError while calling Job…
Browse files Browse the repository at this point in the history
…Client
  • Loading branch information
mkoeppe committed Dec 22, 2023
1 parent b3331bd commit afbe288
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sage/doctest/forker.py
Original file line number Diff line number Diff line change
Expand Up @@ -1806,12 +1806,13 @@ def parallel_dispatch(self):
job_client = None
try:
from gnumake_tokenpool import JobClient, NoJobServer
except ImportError:
pass
else:
try:
job_client = JobClient(use_cysignals=True)
except NoJobServer:
pass
except ImportError:
pass

source_iter = iter(self.controller.sources)

Expand Down

0 comments on commit afbe288

Please sign in to comment.