mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-02 15:03:42 +03:00
Apply suggestions from code review
Rename `fp` to `test_path` in the new `test_is_path` test. ^ Wow, what a sentence... Co-Authored-By: wbadart <wbadart@live.com>
This commit is contained in:
parent
c328ecace3
commit
aed56efa50
|
@ -39,10 +39,10 @@ class TestUtil(PillowTestCase):
|
||||||
def test_path_obj_is_path(self):
|
def test_path_obj_is_path(self):
|
||||||
# Arrange
|
# Arrange
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
fp = Path('filename.ext')
|
test_path = Path('filename.ext')
|
||||||
|
|
||||||
# Act
|
# Act
|
||||||
it_is = _util.isPath(fp)
|
it_is = _util.isPath(test_path)
|
||||||
|
|
||||||
# Assert
|
# Assert
|
||||||
self.assertTrue(it_is)
|
self.assertTrue(it_is)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user