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
d0b10a64
Commit
d0b10a64
authored
Sep 21, 2011
by
Victor Stinner
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test_multiprocessing removes temporary files
parent
18d15cb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
Lib/test/test_multiprocessing.py
Lib/test/test_multiprocessing.py
+2
-0
No files found.
Lib/test/test_multiprocessing.py
View file @
d0b10a64
...
@@ -1590,6 +1590,7 @@ class _TestConnection(BaseTestCase):
...
@@ -1590,6 +1590,7 @@ class _TestConnection(BaseTestCase):
p
=
self
.
Process
(
target
=
self
.
_writefd
,
args
=
(
child_conn
,
b"foo"
))
p
=
self
.
Process
(
target
=
self
.
_writefd
,
args
=
(
child_conn
,
b"foo"
))
p
.
daemon
=
True
p
.
daemon
=
True
p
.
start
()
p
.
start
()
self
.
addCleanup
(
test
.
support
.
unlink
,
test
.
support
.
TESTFN
)
with
open
(
test
.
support
.
TESTFN
,
"wb"
)
as
f
:
with
open
(
test
.
support
.
TESTFN
,
"wb"
)
as
f
:
fd
=
f
.
fileno
()
fd
=
f
.
fileno
()
if
msvcrt
:
if
msvcrt
:
...
@@ -1614,6 +1615,7 @@ class _TestConnection(BaseTestCase):
...
@@ -1614,6 +1615,7 @@ class _TestConnection(BaseTestCase):
p
=
self
.
Process
(
target
=
self
.
_writefd
,
args
=
(
child_conn
,
b"bar"
,
True
))
p
=
self
.
Process
(
target
=
self
.
_writefd
,
args
=
(
child_conn
,
b"bar"
,
True
))
p
.
daemon
=
True
p
.
daemon
=
True
p
.
start
()
p
.
start
()
self
.
addCleanup
(
test
.
support
.
unlink
,
test
.
support
.
TESTFN
)
with
open
(
test
.
support
.
TESTFN
,
"wb"
)
as
f
:
with
open
(
test
.
support
.
TESTFN
,
"wb"
)
as
f
:
fd
=
f
.
fileno
()
fd
=
f
.
fileno
()
for
newfd
in
range
(
256
,
MAXFD
):
for
newfd
in
range
(
256
,
MAXFD
):
...
...
Kirill Smelkov
@kirr
mentioned in commit
3b26f734
·
Sep 12, 2019
mentioned in commit
3b26f734
mentioned in commit 3b26f734c0c96d267f23f59b42fcbb193fbf146b
Toggle commit list
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