mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 01:34:24 +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"
|
fp = "filename.ext"
|
||||||
|
|
||||||
# Act
|
# Act
|
||||||
it_is = _util.isStringType(fp)
|
it_is = _util.isPath(fp)
|
||||||
|
|
||||||
# Assert
|
# Assert
|
||||||
self.assertTrue(it_is)
|
self.assertTrue(it_is)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user