Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-115942: Addlocked to several multiprocessing locks#115944

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sobolevn merged 10 commits intopython:mainfromsobolevn:issue-115942
Apr 8, 2025
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Add more tests
  • Loading branch information
@sobolevn
sobolevn committedApr 1, 2025
commit5b21db593c370280cbfbeeeb6405c3870923f425
4 changes: 3 additions & 1 deletionLib/test/_test_multiprocessing.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6263,6 +6263,7 @@ def test_event(self):
@classmethod
def _test_lock(cls, obj):
obj.acquire()
obj.locked()

def test_lock(self, lname="Lock"):
o = getattr(self.manager, lname)()
Expand All@@ -6274,8 +6275,9 @@ def test_lock(self, lname="Lock"):
def _test_rlock(cls, obj):
obj.acquire()
obj.release()
obj.locked()

def test_rlock(self, lname="Lock"):
def test_rlock(self, lname="RLock"):
o = getattr(self.manager, lname)()
self.run_worker(self._test_rlock, o)

Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp