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
d672229c
Commit
d672229c
authored
Jul 27, 2010
by
Florent Xicluna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #7825: fix transient refleak in test_threadsignals.
parent
985c4648
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Lib/test/test_threadsignals.py
Lib/test/test_threadsignals.py
+2
-1
No files found.
Lib/test/test_threadsignals.py
View file @
d672229c
...
...
@@ -4,7 +4,7 @@ import unittest
import
signal
import
os
import
sys
from
test.test_support
import
run_unittest
,
import_module
from
test.test_support
import
run_unittest
,
import_module
,
reap_threads
thread
=
import_module
(
'thread'
)
if
sys
.
platform
[:
3
]
in
(
'win'
,
'os2'
)
or
sys
.
platform
==
'riscos'
:
...
...
@@ -39,6 +39,7 @@ class ThreadSignals(unittest.TestCase):
wait for it to finish. Check that we got both signals
and that they were run by the main thread.
"""
@
reap_threads
def
test_signals
(
self
):
signalled_all
.
acquire
()
self
.
spawnSignallingThread
()
...
...
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