Skip to content

Commit

Permalink
Try skipping Vispy/Jupyter test on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Sep 4, 2024
1 parent a1baf38 commit b42a9a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions glue_ar/common/tests/test_scatter_gltf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from sys import platform
from tempfile import NamedTemporaryFile

from gltflib import AccessorType, AlphaMode, BufferTarget, ComponentType, GLTFModel
Expand All @@ -15,6 +16,8 @@ class TestScatterGLTF(BaseScatterTest):

# TODO: How can we test the properties of compressed files?
def test_basic_export(self):
if self.app_type == "jupyter" and self.viewer == "vispy" and platform == "win32":
return
bounds = xyz_bounds(self.viewer.state, with_resolution=False)
self.tmpfile = NamedTemporaryFile(suffix=".gltf", delete=False)
self.tmpfile.close()
Expand Down
3 changes: 3 additions & 0 deletions glue_ar/common/tests/test_scatter_usd.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from sys import platform
from tempfile import NamedTemporaryFile

from pxr import Sdf, Usd
Expand All @@ -13,6 +14,8 @@
class TestVispyScatterUSD(BaseScatterTest):

def test_basic_export(self):
if self.app_type == "jupyter" and self.viewer == "vispy" and platform == "win32":
return
bounds = xyz_bounds(self.viewer.state, with_resolution=False)
self.tmpfile = NamedTemporaryFile(suffix=".usdc", delete=False)
self.tmpfile.close()
Expand Down

0 comments on commit b42a9a4

Please sign in to comment.