mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Test the modes
This commit is contained in:
parent
5529aba441
commit
913e79f010
|
@ -62,8 +62,8 @@ def helper_pickle_string(
|
||||||
def test_pickle_image(tmp_path, test_file, test_mode):
|
def test_pickle_image(tmp_path, test_file, test_mode):
|
||||||
# Act / Assert
|
# Act / Assert
|
||||||
for protocol in range(0, pickle.HIGHEST_PROTOCOL + 1):
|
for protocol in range(0, pickle.HIGHEST_PROTOCOL + 1):
|
||||||
helper_pickle_string(pickle, protocol, test_file)
|
helper_pickle_string(pickle, protocol, test_file, test_mode)
|
||||||
helper_pickle_file(tmp_path, pickle, protocol, test_file)
|
helper_pickle_file(tmp_path, pickle, protocol, test_file, test_mode)
|
||||||
|
|
||||||
|
|
||||||
def test_pickle_la_mode_with_palette(tmp_path):
|
def test_pickle_la_mode_with_palette(tmp_path):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user