Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
220cc21c
Kaydet (Commit)
220cc21c
authored
Şub 23, 2014
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #20743: Fix a reference leak in test_tcl.
üst
1be39e51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
test_tcl.py
Lib/test/test_tcl.py
+1
-0
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/test/test_tcl.py
Dosyayı görüntüle @
220cc21c
...
@@ -376,6 +376,7 @@ class TclTest(unittest.TestCase):
...
@@ -376,6 +376,7 @@ class TclTest(unittest.TestCase):
result
=
arg
result
=
arg
return
arg
return
arg
self
.
interp
.
createcommand
(
'testfunc'
,
testfunc
)
self
.
interp
.
createcommand
(
'testfunc'
,
testfunc
)
self
.
addCleanup
(
self
.
interp
.
tk
.
deletecommand
,
'testfunc'
)
def
check
(
value
,
expected
,
eq
=
self
.
assertEqual
):
def
check
(
value
,
expected
,
eq
=
self
.
assertEqual
):
r
=
self
.
interp
.
call
(
'testfunc'
,
value
)
r
=
self
.
interp
.
call
(
'testfunc'
,
value
)
self
.
assertIsInstance
(
result
,
str
)
self
.
assertIsInstance
(
result
,
str
)
...
...
Misc/NEWS
Dosyayı görüntüle @
220cc21c
...
@@ -117,6 +117,8 @@ IDLE
...
@@ -117,6 +117,8 @@ IDLE
Tests
Tests
-----
-----
-
Issue
#
20743
:
Fix
a
reference
leak
in
test_tcl
.
-
Issue
#
20510
:
Rewrote
test_exit
in
test_sys
to
match
existing
comments
,
-
Issue
#
20510
:
Rewrote
test_exit
in
test_sys
to
match
existing
comments
,
use
modern
unittest
features
,
and
use
helpers
from
test
.
script_helper
use
modern
unittest
features
,
and
use
helpers
from
test
.
script_helper
instead
of
using
subprocess
directly
.
Patch
by
Gareth
Rees
.
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