diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2014-01-26 23:48:38 +0200 |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-01-26 23:48:38 +0200 |
| commit | 1ac00950b28e91fc35fed6445722ade92732648e (patch) | |
| tree | 46db0bc87b28ae24193bb5f382f1201d0bb5cc92 /Lib/test/imghdrdata | |
| parent | 8003850e22788c9e02b8dea7076858e01aa24f65 (diff) | |
| download | cpython-git-1ac00950b28e91fc35fed6445722ade92732648e.tar.gz | |
Issue #19990: Added tests for the imghdr module.
Based on patch by Claudiu Popa.
Diffstat (limited to 'Lib/test/imghdrdata')
| -rw-r--r-- | Lib/test/imghdrdata/python.bmp | bin | 0 -> 1162 bytes | |||
| -rw-r--r-- | Lib/test/imghdrdata/python.gif | bin | 0 -> 610 bytes | |||
| -rw-r--r-- | Lib/test/imghdrdata/python.jpg | bin | 0 -> 543 bytes | |||
| -rw-r--r-- | Lib/test/imghdrdata/python.pbm | 3 | ||||
| -rw-r--r-- | Lib/test/imghdrdata/python.pgm | bin | 0 -> 269 bytes | |||
| -rw-r--r-- | Lib/test/imghdrdata/python.png | bin | 0 -> 1020 bytes | |||
| -rw-r--r-- | Lib/test/imghdrdata/python.ppm | bin | 0 -> 781 bytes | |||
| -rw-r--r-- | Lib/test/imghdrdata/python.ras | bin | 0 -> 1056 bytes | |||
| -rw-r--r-- | Lib/test/imghdrdata/python.sgi | bin | 0 -> 1967 bytes | |||
| -rw-r--r-- | Lib/test/imghdrdata/python.tiff | bin | 0 -> 1326 bytes | |||
| -rw-r--r-- | Lib/test/imghdrdata/python.xbm | 6 |
11 files changed, 9 insertions, 0 deletions
diff --git a/Lib/test/imghdrdata/python.bmp b/Lib/test/imghdrdata/python.bmp Binary files differnew file mode 100644 index 0000000000..675f95191a --- /dev/null +++ b/Lib/test/imghdrdata/python.bmp diff --git a/Lib/test/imghdrdata/python.gif b/Lib/test/imghdrdata/python.gif Binary files differnew file mode 100644 index 0000000000..96fd9fef76 --- /dev/null +++ b/Lib/test/imghdrdata/python.gif diff --git a/Lib/test/imghdrdata/python.jpg b/Lib/test/imghdrdata/python.jpg Binary files differnew file mode 100644 index 0000000000..21222c09f5 --- /dev/null +++ b/Lib/test/imghdrdata/python.jpg diff --git a/Lib/test/imghdrdata/python.pbm b/Lib/test/imghdrdata/python.pbm new file mode 100644 index 0000000000..1848ba7ff0 --- /dev/null +++ b/Lib/test/imghdrdata/python.pbm @@ -0,0 +1,3 @@ +P4 +16 16 +ûñ¿úßÕ±[ñ¥a_ÁX°°ðððð?ÿÿ
\ No newline at end of file diff --git a/Lib/test/imghdrdata/python.pgm b/Lib/test/imghdrdata/python.pgm Binary files differnew file mode 100644 index 0000000000..8349f2a53a --- /dev/null +++ b/Lib/test/imghdrdata/python.pgm diff --git a/Lib/test/imghdrdata/python.png b/Lib/test/imghdrdata/python.png Binary files differnew file mode 100644 index 0000000000..1a987f79fc --- /dev/null +++ b/Lib/test/imghdrdata/python.png diff --git a/Lib/test/imghdrdata/python.ppm b/Lib/test/imghdrdata/python.ppm Binary files differnew file mode 100644 index 0000000000..7d9cdb3215 --- /dev/null +++ b/Lib/test/imghdrdata/python.ppm diff --git a/Lib/test/imghdrdata/python.ras b/Lib/test/imghdrdata/python.ras Binary files differnew file mode 100644 index 0000000000..130e96f817 --- /dev/null +++ b/Lib/test/imghdrdata/python.ras diff --git a/Lib/test/imghdrdata/python.sgi b/Lib/test/imghdrdata/python.sgi Binary files differnew file mode 100644 index 0000000000..ffe9081c7a --- /dev/null +++ b/Lib/test/imghdrdata/python.sgi diff --git a/Lib/test/imghdrdata/python.tiff b/Lib/test/imghdrdata/python.tiff Binary files differnew file mode 100644 index 0000000000..39d0bfcec0 --- /dev/null +++ b/Lib/test/imghdrdata/python.tiff diff --git a/Lib/test/imghdrdata/python.xbm b/Lib/test/imghdrdata/python.xbm new file mode 100644 index 0000000000..cfbee2e980 --- /dev/null +++ b/Lib/test/imghdrdata/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, }; |
