@@ -738,11 +738,14 @@ def tiny(tmp_path):
738
738
def test_brain_screenshot (renderer_interactive_pyvistaqt , tmp_path , brain_gc ):
739
739
"""Test time viewer screenshot."""
740
740
# This is broken on Conda + GHA for some reason
741
+ from qtpy import API_NAME
742
+
741
743
if (
742
744
os .getenv ("CONDA_PREFIX" , "" ) != ""
743
745
and os .getenv ("GITHUB_ACTIONS" , "" ) == "true"
746
+ or API_NAME .lower () == "pyside6"
744
747
):
745
- pytest .skip ("Test is unreliable on GitHub Actions conda runs" )
748
+ pytest .skip ("Test is unreliable on GitHub Actions conda runs and pyside6 " )
746
749
tiny_brain , ratio = tiny (tmp_path )
747
750
img_nv = tiny_brain .screenshot (time_viewer = False )
748
751
want = (_TINY_SIZE [1 ] * ratio , _TINY_SIZE [0 ] * ratio , 3 )
@@ -1096,6 +1099,10 @@ def test_brain_traces(renderer_interactive_pyvistaqt, hemi, src, tmp_path, brain
1096
1099
def test_brain_scraper (renderer_interactive_pyvistaqt , brain_gc , tmp_path ):
1097
1100
"""Test a simple scraping example."""
1098
1101
pytest .importorskip ("sphinx_gallery" )
1102
+ from qtpy import API_NAME
1103
+
1104
+ if API_NAME .lower () == "pyside6" :
1105
+ pytest .skip ("Error in event loop on PySidie6" )
1099
1106
stc = read_source_estimate (fname_stc , subject = "sample" )
1100
1107
size = (600 , 400 )
1101
1108
brain = stc .plot (
0 commit comments