We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72199b3 commit 7897225Copy full SHA for 7897225
1 file changed
src/vroom/input/input.py
@@ -376,9 +376,7 @@ def solve(
376
timeout:
377
Stop the solving process after a given amount of time.
378
"""
379
- assert timeout is None or isinstance(timeout, (None, timedelta)), (
380
- f"unknown timeout type: {timeout}"
381
- )
+ assert timeout is None or isinstance(timeout, timedelta), f"unknown timeout type: {timeout}"
382
solution = Solution(
383
self._solve(
384
exploration_level=int(exploration_level),
0 commit comments