File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 22import os
33
44import pywavefront .texture
5- import pywavefront .visualization # power of two test
65
76
87def prepend_dir (file ):
@@ -16,11 +15,6 @@ def testPathedImageName(self):
1615 my_texture = pywavefront .texture .Texture (prepend_dir ('4x4.png' ))
1716 self .assertEqual (my_texture .image_name , prepend_dir ('4x4.png' ))
1817
19- # NOTE: This us using pyglet, so disabling for now
20- # def testNonPowerOfTwoImage(self):
21- # """Texture images that have a non-power-of-two dimension should raise an exception."""
22- # self.assertRaises(Exception, pywavefront.texture.Texture, prepend_dir('3x4.png'))
23-
2418 def testMissingFile (self ):
2519 """Referencing a missing texture file should raise an exception."""
2620 self .assertRaises (Exception , pywavefront .texture .Texture , 'missing.file.do.not.create' )
You can’t perform that action at this time.
0 commit comments