Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
dec1c778
Commit
dec1c778
authored
Mar 21, 2018
by
Thomas Moreau
Committed by
Antoine Pitrou
Mar 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIX failure on OSX sem_getvalue (#6180)
parent
e2f33add
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
Lib/test/_test_multiprocessing.py
Lib/test/_test_multiprocessing.py
+7
-2
Misc/NEWS.d/next/Library/2018-03-21-17-59-39.bpo-33078.PQOniT.rst
...S.d/next/Library/2018-03-21-17-59-39.bpo-33078.PQOniT.rst
+1
-0
No files found.
Lib/test/_test_multiprocessing.py
View file @
dec1c778
...
...
@@ -1062,11 +1062,16 @@ class _TestQueue(BaseTestCase):
q
=
self
.
Queue
(
maxsize
=
1
)
q
.
put
(
NotSerializable
())
q
.
put
(
True
)
try
:
self
.
assertEqual
(
q
.
qsize
(),
1
)
except
NotImplementedError
:
# qsize is not available on all platform as it
# relies on sem_getvalue
pass
# bpo-30595: use a timeout of 1 second for slow buildbots
self
.
assertTrue
(
q
.
get
(
timeout
=
1.0
))
# Check that the size of the queue is correct
self
.
assert
Equal
(
q
.
qsize
(),
0
)
self
.
assert
True
(
q
.
empty
()
)
close_queue
(
q
)
def
test_queue_feeder_on_queue_feeder_error
(
self
):
...
...
Misc/NEWS.d/next/Library/2018-03-21-17-59-39.bpo-33078.PQOniT.rst
0 → 100644
View file @
dec1c778
Fix the failure on OSX caused by the tests relying on sem_getvalue
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment