Skip to content

Commit

Permalink
fix: TimeoutException maps to TimeoutException
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiebergman committed Mar 19, 2023
1 parent 2c0879d commit 2470f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynisher/pynisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class Pynisher(Generic[P, T]):
CpuTimeoutException = CpuTimeoutException
MemoryLimitException = MemoryLimitException
PynisherException = PynisherException
TimeoutException = WallTimeoutException
TimeoutException = TimeoutException

# If `raises=True` or left as default, the return type when calling is just T
@overload
Expand Down

0 comments on commit 2470f56

Please sign in to comment.