diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-08-07 11:11:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-07 11:11:39 (GMT) |
commit | 3c8e8f3ceeae08fc43d885f5a4c65a3ee4b1a2c8 (patch) | |
tree | 3c8a19ba8237d6468c6b28928d90e5acfcff5973 /Lib/test/test_tkinter/test_images.py | |
parent | 6925c578a0e3cbb00858e64da813a7ffe79623c4 (diff) | |
download | cpython-3c8e8f3ceeae08fc43d885f5a4c65a3ee4b1a2c8.zip cpython-3c8e8f3ceeae08fc43d885f5a4c65a3ee4b1a2c8.tar.gz cpython-3c8e8f3ceeae08fc43d885f5a4c65a3ee4b1a2c8.tar.bz2 |
gh-104496: Use correct Tcl or Tk version in Tkinter tests (GH-107688)
In future Tcl and Tk versions can be desynchronized.
Diffstat (limited to 'Lib/test/test_tkinter/test_images.py')
-rw-r--r-- | Lib/test/test_tkinter/test_images.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_tkinter/test_images.py b/Lib/test/test_tkinter/test_images.py index c07de86..b6ba1c2 100644 --- a/Lib/test/test_tkinter/test_images.py +++ b/Lib/test/test_tkinter/test_images.py @@ -2,7 +2,7 @@ import unittest import tkinter from test import support from test.support import os_helper -from test.test_tkinter.support import AbstractTkTest, AbstractDefaultRootTest, requires_tcl +from test.test_tkinter.support import AbstractTkTest, AbstractDefaultRootTest, requires_tk support.requires('gui') @@ -213,11 +213,11 @@ class PhotoImageTest(AbstractTkTest, unittest.TestCase): def test_create_from_gif_data(self): self.check_create_from_data('gif') - @requires_tcl(8, 6) + @requires_tk(8, 6) def test_create_from_png_file(self): self.check_create_from_file('png') - @requires_tcl(8, 6) + @requires_tk(8, 6) def test_create_from_png_data(self): self.check_create_from_data('png') |