summaryrefslogtreecommitdiffstats
path: root/Lib/test/tkinterdata
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-05-26 13:29:45 (GMT)
committerGitHub <noreply@github.com>2023-05-26 13:29:45 (GMT)
commite399f46a77263621610b350453e0f50252c6dc08 (patch)
treec90da37d75dffaba32a031488c406fea1d7db022 /Lib/test/tkinterdata
parentba73473f4c18ba4cf7ab18d84d94a47d2d37a0c5 (diff)
downloadcpython-e399f46a77263621610b350453e0f50252c6dc08.zip
cpython-e399f46a77263621610b350453e0f50252c6dc08.tar.gz
cpython-e399f46a77263621610b350453e0f50252c6dc08.tar.bz2
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/tkinterdata')
-rw-r--r--Lib/test/tkinterdata/python.gifbin0 -> 405 bytes
-rw-r--r--Lib/test/tkinterdata/python.pgmbin0 -> 269 bytes
-rw-r--r--Lib/test/tkinterdata/python.pngbin0 -> 1020 bytes
-rw-r--r--Lib/test/tkinterdata/python.ppmbin0 -> 781 bytes
-rw-r--r--Lib/test/tkinterdata/python.xbm6
5 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/tkinterdata/python.gif b/Lib/test/tkinterdata/python.gif
new file mode 100644
index 0000000..efa0be3
--- /dev/null
+++ b/Lib/test/tkinterdata/python.gif
Binary files differ
diff --git a/Lib/test/tkinterdata/python.pgm b/Lib/test/tkinterdata/python.pgm
new file mode 100644
index 0000000..8349f2a
--- /dev/null
+++ b/Lib/test/tkinterdata/python.pgm
Binary files differ
diff --git a/Lib/test/tkinterdata/python.png b/Lib/test/tkinterdata/python.png
new file mode 100644
index 0000000..1a987f7
--- /dev/null
+++ b/Lib/test/tkinterdata/python.png
Binary files differ
diff --git a/Lib/test/tkinterdata/python.ppm b/Lib/test/tkinterdata/python.ppm
new file mode 100644
index 0000000..7d9cdb3
--- /dev/null
+++ b/Lib/test/tkinterdata/python.ppm
Binary files differ
diff --git a/Lib/test/tkinterdata/python.xbm b/Lib/test/tkinterdata/python.xbm
new file mode 100644
index 0000000..cfbee2e
--- /dev/null
+++ b/Lib/test/tkinterdata/python.xbm
@@ -0,0 +1,6 @@
+#define python_width 16
+#define python_height 16
+static char python_bits[] = {
+ 0xDF, 0xFE, 0x8F, 0xFD, 0x5F, 0xFB, 0xAB, 0xFE, 0xB5, 0x8D, 0xDA, 0x8F,
+ 0xA5, 0x86, 0xFA, 0x83, 0x1A, 0x80, 0x0D, 0x80, 0x0D, 0x80, 0x0F, 0xE0,
+ 0x0F, 0xF8, 0x0F, 0xF8, 0x0F, 0xFC, 0xFF, 0xFF, };