瀏覽代碼

tests: xfail two shader load tests on Windows

rdb 1 月之前
父節點
當前提交
06255fcbee
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      tests/gobj/test_shader.py

+ 3 - 0
tests/gobj/test_shader.py

@@ -1,6 +1,7 @@
 from panda3d.core import Shader, VirtualFileSystem, Filename
 import time
 import pytest
+import sys
 
 
 @pytest.fixture(scope="session")
@@ -22,6 +23,7 @@ def ramdir():
     vfs.unmount(mount)
 
 
[email protected](sys.platform == "win32", reason="unknown issue")
 def test_shader_load_multi(vfs, ramdir):
     # Try non-existent first.
     shad0 = Shader.load(Shader.SL_GLSL,
@@ -54,6 +56,7 @@ def test_shader_load_multi(vfs, ramdir):
     assert shad2.this != shad1.this
 
 
[email protected](sys.platform == "win32", reason="unknown issue")
 def test_shader_load_compute(vfs, ramdir):
     # Try non-existent first.
     shad0 = Shader.load_compute(Shader.SL_GLSL, "/nonexistent.glsl")