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
ee7a29ba
Commit
ee7a29ba
authored
Feb 23, 2014
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #20743: Fix a reference leak in test_tcl.
parent
418fb69f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
Lib/test/test_tcl.py
Lib/test/test_tcl.py
+1
-0
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/test/test_tcl.py
View file @
ee7a29ba
...
...
@@ -376,6 +376,7 @@ class TclTest(unittest.TestCase):
result
=
arg
return
arg
self
.
interp
.
createcommand
(
'testfunc'
,
testfunc
)
self
.
addCleanup
(
self
.
interp
.
tk
.
deletecommand
,
'testfunc'
)
def
check
(
value
,
expected
,
eq
=
self
.
assertEqual
):
r
=
self
.
interp
.
call
(
'testfunc'
,
value
)
self
.
assertIsInstance
(
result
,
str
)
...
...
Misc/NEWS
View file @
ee7a29ba
...
...
@@ -117,6 +117,8 @@ IDLE
Tests
-----
-
Issue
#
20743
:
Fix
a
reference
leak
in
test_tcl
.
-
Issue
#
20510
:
Rewrote
test_exit
in
test_sys
to
match
existing
comments
,
use
modern
unittest
features
,
and
use
helpers
from
test
.
script_helper
instead
of
using
subprocess
directly
.
Patch
by
Gareth
Rees
.
...
...
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