Fix a test that fails when libGL.so and libGLU.so are not installed (on posix systems).
This commit is contained in:
parent
0c6b0e9d05
commit
23e408603c
|
@ -8,8 +8,10 @@ if os.name == "posix" and sys.platform == "linux2":
|
|||
|
||||
class TestRTLD_GLOBAL(unittest.TestCase):
|
||||
def test_GL(self):
|
||||
cdll.load('libGL.so', mode=RTLD_GLOBAL)
|
||||
cdll.load('libGLU.so')
|
||||
if os.path.exists('/usr/lib/libGL.so'):
|
||||
cdll.load('libGL.so', mode=RTLD_GLOBAL)
|
||||
if os.path.exists('/usr/lib/libGLU.so'):
|
||||
cdll.load('libGLU.so')
|
||||
|
||||
##if os.name == "posix" and sys.platform != "darwin":
|
||||
|
||||
|
|
Loading…
Reference in New Issue