Skip to content

Commit 014f7d9

Browse files
committed
Remove tests depending on pyglet entirely
1 parent a5ecb17 commit 014f7d9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/test_texture.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import os
33

44
import pywavefront.texture
5-
import pywavefront.visualization # power of two test
65

76

87
def 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')

0 commit comments

Comments
 (0)