diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-08-16 12:32:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-16 12:32:04 (GMT) |
commit | 91d935b47b47f5fa5c3eb0ee5e45a627f79babef (patch) | |
tree | 31583ffd882221422116526d050c6a7d17c10037 /Lib/test/test_tkinter/test_images.py | |
parent | 220d7e3120ffa23d01f91b7ad89f488b4dda3ef0 (diff) | |
download | cpython-91d935b47b47f5fa5c3eb0ee5e45a627f79babef.zip cpython-91d935b47b47f5fa5c3eb0ee5e45a627f79babef.tar.gz cpython-91d935b47b47f5fa5c3eb0ee5e45a627f79babef.tar.bz2 |
[3.12] gh-104496: Use correct Tcl or Tk version in Tkinter tests (GH-107688) (#107709)
gh-104496: Use correct Tcl or Tk version in Tkinter tests (GH-107688)
In future Tcl and Tk versions can be desynchronized.
(cherry picked from commit 3c8e8f3ceeae08fc43d885f5a4c65a3ee4b1a2c8)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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 94cfe7d..9f49d6e 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') @@ -221,11 +221,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') |