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
e544f9a2
Kaydet (Commit)
e544f9a2
authored
Nis 13, 2014
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #20635: Added tests for Tk geometry managers.
üst
a39938ff
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
test_geometry_managers.py
Lib/tkinter/test/test_tkinter/test_geometry_managers.py
+0
-0
widget_tests.py
Lib/tkinter/test/widget_tests.py
+11
-0
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/tkinter/test/test_tkinter/test_geometry_managers.py
0 → 100644
Dosyayı görüntüle @
e544f9a2
This diff is collapsed.
Click to expand it.
Lib/tkinter/test/widget_tests.py
Dosyayı görüntüle @
e544f9a2
...
...
@@ -33,6 +33,17 @@ class AbstractWidgetTest:
if
not
self
.
root
.
wantobjects
():
self
.
wantobjects
=
False
def
tearDown
(
self
):
for
w
in
self
.
root
.
winfo_children
():
w
.
destroy
()
def
_str
(
self
,
value
):
if
self
.
wantobjects
and
tcl_version
>=
(
8
,
6
):
return
value
if
isinstance
(
value
,
tuple
):
return
' '
.
join
(
map
(
self
.
_str
,
value
))
return
str
(
value
)
def
create
(
self
,
**
kwargs
):
widget
=
self
.
_create
(
**
kwargs
)
self
.
addCleanup
(
widget
.
destroy
)
...
...
Misc/NEWS
Dosyayı görüntüle @
e544f9a2
...
...
@@ -154,6 +154,8 @@ Documentation
Tests
-----
- Issue #20635: Added tests for Tk geometry managers.
- Add test case for freeze.
- Issue #20743: Fix a reference leak in test_tcl.
...
...
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