mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Fix vars
to var
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
43128ce716
commit
44c4e67fe1
|
@ -178,13 +178,13 @@ class TestEnvVars:
|
|||
assert Image.core.get_block_size() == 2 * 1024 * 1024
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"vars",
|
||||
"var",
|
||||
[
|
||||
{"PILLOW_ALIGNMENT": "15"},
|
||||
{"PILLOW_BLOCK_SIZE": "1024"},
|
||||
{"PILLOW_BLOCKS_MAX": "wat"},
|
||||
],
|
||||
)
|
||||
def test_warnings(self, vars):
|
||||
def test_warnings(self, var):
|
||||
with pytest.warns(UserWarning):
|
||||
Image._apply_env_variables(vars)
|
||||
Image._apply_env_variables(var)
|
||||
|
|
Loading…
Reference in New Issue
Block a user