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
d3113664
Kaydet (Commit)
d3113664
authored
Kas 23, 2013
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #19733: Temporary disable test_image on MacOSX.
üst
72d28500
c17565e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
test_widgets.py
Lib/tkinter/test/test_tkinter/test_widgets.py
+3
-0
widget_tests.py
Lib/tkinter/test/widget_tests.py
+4
-0
No files found.
Lib/tkinter/test/test_tkinter/test_widgets.py
Dosyayı görüntüle @
d3113664
import
unittest
import
tkinter
import
os
import
sys
from
test.support
import
requires
from
tkinter.test.support
import
(
tcl_version
,
requires_tcl
,
...
...
@@ -262,6 +263,8 @@ class MenubuttonTest(AbstractLabelTest, unittest.TestCase):
test_highlightthickness
=
StandardOptionsTests
.
test_highlightthickness
@unittest.skipIf
(
sys
.
platform
==
'darwin'
,
'crashes with Cocoa Tk (issue19733)'
)
def
test_image
(
self
):
widget
=
self
.
create
()
image
=
tkinter
.
PhotoImage
(
'image1'
)
...
...
Lib/tkinter/test/widget_tests.py
Dosyayı görüntüle @
d3113664
# Common tests for test_tkinter/test_widgets.py and test_ttk/test_widgets.py
import
unittest
import
sys
import
tkinter
from
tkinter.ttk
import
setup_master
,
Scale
from
tkinter.test.support
import
(
tcl_version
,
requires_tcl
,
get_tk_patchlevel
,
...
...
@@ -289,6 +291,8 @@ class StandardOptionsTests:
self
.
checkParam
(
widget
,
'highlightthickness'
,
-
2
,
expected
=
0
,
conv
=
self
.
_conv_pixels
)
@unittest.skipIf
(
sys
.
platform
==
'darwin'
,
'crashes with Cocoa Tk (issue19733)'
)
def
test_image
(
self
):
widget
=
self
.
create
()
self
.
checkImageParam
(
widget
,
'image'
)
...
...
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