Skip to content

Commit eeb3c20

Browse files
committed
test_material: Texture name argument should be a string
1 parent cca0d26 commit eeb3c20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_material.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ class TestMaterial(unittest.TestCase):
1010
def setUp(self):
1111
# Append current path to locate files
1212
self.material = pywavefront.material.Material(fixture('material'))
13-
self.material.set_texture(fixture('4x4.png'), '')
14-
self.material.set_texture_ambient(fixture('4x4.png'), '')
13+
self.material.set_texture(str(fixture('4x4.png')), '')
14+
self.material.set_texture_ambient(str(fixture('4x4.png')), '')
1515

1616
def testSetTexture(self):
1717
"""Running set_texture should set a texture."""

0 commit comments

Comments
 (0)