diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-07-30 15:33:13 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-07-30 15:33:13 (GMT) |
commit | 74596a887aff06d7ec45957672126881f1865cf2 (patch) | |
tree | e1d09c27b18bb00e7683df8575a7c95c0c8b0f99 /Lib/tkinter | |
parent | 95a9e0bf8c2862ba3bfec4d5e35ef982521fe1e2 (diff) | |
download | cpython-74596a887aff06d7ec45957672126881f1865cf2.zip cpython-74596a887aff06d7ec45957672126881f1865cf2.tar.gz cpython-74596a887aff06d7ec45957672126881f1865cf2.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')
-rw-r--r-- | Lib/tkinter/test/test_tkinter/test_images.py | 5 |
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'], '') |