11import  importlib .metadata 
22import  os 
3- import  platform 
43import  sys 
54from  typing  import  Generator , Optional , Tuple 
65from  unittest .mock  import  patch 
@@ -406,12 +405,6 @@ def test_add_items_outdated_and_update(plugin_dialog, qtbot):
406405    assert  widget .version .toolTip () ==  updated_version 
407406
408407
409- @pytest .mark .skipif ( 
410-     qtpy .API_NAME .lower ().startswith ('pyside' ) 
411-     and  sys .version_info [:2 ] >  (3 , 10 ) 
412-     and  platform .system () ==  "Darwin" , 
413-     reason = 'pyside specific bug' , 
414- ) 
415408def  test_refresh (qtbot , plugin_dialog ):
416409    with  qtbot .waitSignal (plugin_dialog ._add_items_timer .timeout , timeout = 500 ):
417410        plugin_dialog .refresh (clear_cache = False )
@@ -423,35 +416,17 @@ def test_refresh(qtbot, plugin_dialog):
423416        plugin_dialog ._refresh_and_clear_cache ()
424417
425418
426- @pytest .mark .skipif ( 
427-     qtpy .API_NAME .lower ().startswith ('pyside' ) 
428-     and  sys .version_info [:2 ] >  (3 , 10 ) 
429-     and  platform .system () ==  "Darwin" , 
430-     reason = 'pyside specific bug' , 
431- ) 
432419def  test_toggle_status (plugin_dialog ):
433420    plugin_dialog .toggle_status (True )
434421    assert  plugin_dialog .stdout_text .isVisible ()
435422    plugin_dialog .toggle_status (False )
436423    assert  not  plugin_dialog .stdout_text .isVisible ()
437424
438425
439- @pytest .mark .skipif ( 
440-     qtpy .API_NAME .lower ().startswith ('pyside' ) 
441-     and  sys .version_info [:2 ] >  (3 , 10 ) 
442-     and  platform .system () ==  "Darwin" , 
443-     reason = 'pyside specific bug' , 
444- ) 
445426def  test_exec (plugin_dialog ):
446427    plugin_dialog .exec_ ()
447428
448429
449- @pytest .mark .skipif ( 
450-     qtpy .API_NAME .lower ().startswith ('pyside' ) 
451-     and  sys .version_info [:2 ] >  (3 , 10 ) 
452-     and  platform .system () ==  "Darwin" , 
453-     reason = 'pyside specific bug' , 
454- ) 
455430def  test_search_in_available (plugin_dialog ):
456431    idxs  =  plugin_dialog ._search_in_available ("test" )
457432    assert  idxs  ==  [0 , 1 , 2 , 3 ]
@@ -474,9 +449,6 @@ def test_drop_event(plugin_dialog, tmp_path):
474449    assert  plugin_dialog .direct_entry_edit .text () ==  str (path_1 )
475450
476451
477- @pytest .mark .skipif ( 
478-     qtpy .API_NAME .lower ().startswith ('pyside' ), reason = 'pyside specific bug'  
479- ) 
480452def  test_installs (qtbot , tmp_virtualenv , plugin_dialog , request ):
481453    if  "[constructor]"  in  request .node .name :
482454        pytest .skip (
@@ -497,9 +469,6 @@ def test_installs(qtbot, tmp_virtualenv, plugin_dialog, request):
497469    qtbot .wait (5000 )
498470
499471
500- @pytest .mark .skipif ( 
501-     qtpy .API_NAME .lower ().startswith ('pyside' ), reason = 'pyside specific bug'  
502- ) 
503472def  test_cancel (qtbot , tmp_virtualenv , plugin_dialog , request ):
504473    if  "[constructor]"  in  request .node .name :
505474        pytest .skip (
@@ -522,9 +491,6 @@ def test_cancel(qtbot, tmp_virtualenv, plugin_dialog, request):
522491    assert  plugin_dialog .installed_list .count () ==  2 
523492
524493
525- @pytest .mark .skipif ( 
526-     qtpy .API_NAME .lower ().startswith ('pyside' ), reason = 'pyside specific bug'  
527- ) 
528494def  test_cancel_all (qtbot , tmp_virtualenv , plugin_dialog , request ):
529495    if  "[constructor]"  in  request .node .name :
530496        pytest .skip (
@@ -545,9 +511,6 @@ def test_cancel_all(qtbot, tmp_virtualenv, plugin_dialog, request):
545511    assert  plugin_dialog .installed_list .count () ==  2 
546512
547513
548- @pytest .mark .skipif ( 
549-     qtpy .API_NAME .lower ().startswith ('pyside' ), reason = 'pyside specific bug'  
550- ) 
551514def  test_direct_entry_installs (qtbot , tmp_virtualenv , plugin_dialog , request ):
552515    if  "[constructor]"  in  request .node .name :
553516        pytest .skip (
0 commit comments