Skip to content

Commit

Permalink
[DATALAD RUNCMD] run codespell throughout fixing few left typos autom…
Browse files Browse the repository at this point in the history
…agically

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
  • Loading branch information
yarikoptic committed Nov 20, 2024
1 parent bb418b9 commit 8104353
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion billiard/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def set_pdeathsig(sig):
libc = ctypes.cdll.LoadLibrary("libc.so.6")
libc.prctl(PR_SET_PDEATHSIG, ctypes.c_int(sig))
except Exception as e:
raise OSError("An error occured while setting pdeathsig") from e
raise OSError("An error occurred while setting pdeathsig") from e

def _eintr_retry(func):
'''
Expand Down
4 changes: 2 additions & 2 deletions t/integration/tests/test_multiprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from billiard._ext import _billiard
except ImportError as exc:
raise pytest.skip(exc)
# import threading after _billiard to raise a more revelant error
# import threading after _billiard to raise a more relevant error
# message: "No module named _billiard". _billiard is not compiled
# without thread support.
import threading
Expand Down Expand Up @@ -750,7 +750,7 @@ def test_event(self):
event = self.Event()
wait = TimingWrapper(event.wait)

# Removed temporaily, due to API shear, this does not
# Removed temporarily, due to API shear, this does not
# work with threading._Event objects. is_set == isSet
self.assertEqual(event.is_set(), False)

Expand Down

0 comments on commit 8104353

Please sign in to comment.