summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/test
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-07-30 15:34:01 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-07-30 15:34:01 (GMT)
commitf44611cadfa8f4f592a2b13d0dbffa84bccc4418 (patch)
treed78adf08a5365a9a2df4bd851289310338ad3588 /Lib/tkinter/test
parentda565a790c0851650d6466cde43381e208746197 (diff)
parent74596a887aff06d7ec45957672126881f1865cf2 (diff)
downloadcpython-f44611cadfa8f4f592a2b13d0dbffa84bccc4418.zip
cpython-f44611cadfa8f4f592a2b13d0dbffa84bccc4418.tar.gz
cpython-f44611cadfa8f4f592a2b13d0dbffa84bccc4418.tar.bz2
Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.
In particular this allows to initialize images from binary data.
Diffstat (limited to 'Lib/tkinter/test')
-rw-r--r--Lib/tkinter/test/test_tkinter/test_images.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/tkinter/test/test_tkinter/test_images.py b/Lib/tkinter/test/test_tkinter/test_images.py
index e8ec604..ff05bbe 100644
--- a/Lib/tkinter/test/test_tkinter/test_images.py
+++ b/Lib/tkinter/test/test_tkinter/test_images.py
@@ -161,21 +161,18 @@ class PhotoImageTest(unittest.TestCase):
def test_create_from_ppm_file(self):
self.check_create_from_file('ppm')
- @unittest.skip('issue #21580')
def test_create_from_ppm_data(self):
self.check_create_from_data('ppm')
def test_create_from_pgm_file(self):
self.check_create_from_file('pgm')
- @unittest.skip('issue #21580')
def test_create_from_pgm_data(self):
self.check_create_from_data('pgm')
def test_create_from_gif_file(self):
self.check_create_from_file('gif')
- @unittest.skip('issue #21580')
def test_create_from_gif_data(self):
self.check_create_from_data('gif')
@@ -183,12 +180,10 @@ class PhotoImageTest(unittest.TestCase):
def test_create_from_png_file(self):
self.check_create_from_file('png')
- @unittest.skip('issue #21580')
@requires_tcl(8, 6)
def test_create_from_png_data(self):
self.check_create_from_data('png')
- @unittest.skip('issue #21580')
def test_configure_data(self):
image = tkinter.PhotoImage('::img::test', master=self.root)
self.assertEqual(image['data'], '')