mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-17 18:54:46 +03:00
Updated function name
This commit is contained in:
parent
0bfbea0ab9
commit
5bd776a621
|
@ -36,7 +36,7 @@ def test_path_like_is_path():
|
|||
test_path = PathThingy()
|
||||
|
||||
# Act
|
||||
it_is = _util.isPath(test_path)
|
||||
it_is = _util.is_path(test_path)
|
||||
|
||||
# Assert
|
||||
assert it_is
|
||||
|
@ -64,7 +64,7 @@ def test_path_like_file_is_not_path(tmp_path):
|
|||
|
||||
with PathAndFileThingy(open(tmp_path / "temp.ext", "wb")) as test_obj:
|
||||
# Act
|
||||
it_is_not = _util.isPath(test_obj)
|
||||
it_is_not = _util.is_path(test_obj)
|
||||
|
||||
# Assert
|
||||
assert not it_is_not
|
||||
|
|
Loading…
Reference in New Issue
Block a user