mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 01:04:29 +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):
|
||||
# Arrange
|
||||
from pathlib import Path
|
||||
fp = Path('filename.ext')
|
||||
test_path = Path('filename.ext')
|
||||
|
||||
# Act
|
||||
it_is = _util.isPath(fp)
|
||||
it_is = _util.isPath(test_path)
|
||||
|
||||
# Assert
|
||||
self.assertTrue(it_is)
|
||||
|
|
Loading…
Reference in New Issue
Block a user