diff options
author | Victor Stinner <vstinner@python.org> | 2023-05-26 15:29:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-26 13:29:45 +0000 |
commit | e399f46a77263621610b350453e0f50252c6dc08 (patch) | |
tree | c90da37d75dffaba32a031488c406fea1d7db022 /Lib/test/test_tkinter/widget_tests.py | |
parent | ba73473f4c18ba4cf7ab18d84d94a47d2d37a0c5 (diff) | |
download | cpython-e399f46a77263621610b350453e0f50252c6dc08.tar.gz cpython-e399f46a77263621610b350453e0f50252c6dc08.zip |
gh-104773: PEP 594: Remove the imghdr module (#104777)
* Remove the Lib/test/imghdrdata/ directory.
* Copy 5 pictures (gif, png, ppm, pgm, xbm) from removed
Lib/test/imghdrdata/ to a new Lib/test/tkinterdata/ directory.
* Update Sphinx from 4.5 to 6.2 in Doc/requirements.txt.
Diffstat (limited to 'Lib/test/test_tkinter/widget_tests.py')
-rw-r--r-- | Lib/test/test_tkinter/widget_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_tkinter/widget_tests.py b/Lib/test/test_tkinter/widget_tests.py index 85b0511aba3..f60087a6e9f 100644 --- a/Lib/test/test_tkinter/widget_tests.py +++ b/Lib/test/test_tkinter/widget_tests.py @@ -250,7 +250,7 @@ class StandardOptionsTests: widget = self.create() self.checkParam(widget, 'bitmap', 'questhead') self.checkParam(widget, 'bitmap', 'gray50') - filename = test.support.findfile('python.xbm', subdir='imghdrdata') + filename = test.support.findfile('python.xbm', subdir='tkinterdata') self.checkParam(widget, 'bitmap', '@' + filename) # Cocoa Tk widgets don't detect invalid -bitmap values # See https://core.tcl.tk/tk/info/31cd33dbf0 |