mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 01:04:29 +03:00
test_is_path calls the correct function
Before, the test called the isStringType utility, which has its own, separate test.
This commit is contained in:
parent
071dc9409f
commit
37b182793e
|
@ -30,7 +30,7 @@ class TestUtil(PillowTestCase):
|
|||
fp = "filename.ext"
|
||||
|
||||
# Act
|
||||
it_is = _util.isStringType(fp)
|
||||
it_is = _util.isPath(fp)
|
||||
|
||||
# Assert
|
||||
self.assertTrue(it_is)
|
||||
|
|
Loading…
Reference in New Issue
Block a user