cpython/Lib/test/test_email/data
Barry Warsaw 1fcb39ea64
gh-91520: Rewrite imghdr inlining for clarity and completeness (#91521)
* Rewrite imghdr inlining for clarity and completeness

* Move MIMEImage class back closer to the top of the file since it's the
  important thing.
* Use a decorate to mark a given rule function and simplify the rule function
  names for clarity.
* Copy over all the imghdr test data files into the email package's test data
  directory.  This way when imghdr is actually removed, it won't affect the
  MIMEImage guessing tests.
* Rewrite and extend the MIMEImage tests to test for all supported
  auto-detected MIME image subtypes.
* Remove the now redundant PyBanner048.gif data file.

* See https://github.com/python/cpython/pull/91461#discussion_r850313336

Co-authored-by: Oleg Iarygin <dralife@yandex.ru>

Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
2022-04-14 17:48:59 -07:00
..
audiotest.au
msg_01.txt
msg_02.txt
msg_03.txt
msg_04.txt
msg_05.txt
msg_06.txt
msg_07.txt
msg_08.txt
msg_09.txt
msg_10.txt
msg_11.txt
msg_12.txt
msg_12a.txt
msg_13.txt
msg_14.txt
msg_15.txt
msg_16.txt
msg_17.txt
msg_18.txt
msg_19.txt
msg_20.txt
msg_21.txt
msg_22.txt
msg_23.txt
msg_24.txt
msg_25.txt
msg_26.txt
msg_27.txt
msg_28.txt
msg_29.txt
msg_30.txt
msg_31.txt
msg_32.txt
msg_33.txt
msg_34.txt
msg_35.txt
msg_36.txt
msg_37.txt
msg_38.txt
msg_39.txt
msg_40.txt
msg_41.txt
msg_42.txt
msg_43.txt
msg_44.txt
msg_45.txt
msg_46.txt
python.bmp
python.exr
python.gif
python.jpg
python.pbm
python.pgm
python.png
python.ppm
python.ras
python.sgi
python.tiff
python.webp
python.xbm