Updated function name

This commit is contained in:
Andrew Murray 2022-04-17 13:06:03 +10:00
parent 0bfbea0ab9
commit 5bd776a621

View File

@ -36,7 +36,7 @@ def test_path_like_is_path():
test_path = PathThingy() test_path = PathThingy()
# Act # Act
it_is = _util.isPath(test_path) it_is = _util.is_path(test_path)
# Assert # Assert
assert it_is 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: with PathAndFileThingy(open(tmp_path / "temp.ext", "wb")) as test_obj:
# Act # Act
it_is_not = _util.isPath(test_obj) it_is_not = _util.is_path(test_obj)
# Assert # Assert
assert not it_is_not assert not it_is_not