@@ -66,7 +66,7 @@ def register_event_type() -> None:
6666
6767 # assign to the global
6868 # TODO: https://bugreports.qt.io/browse/PYSIDE-1347
69- if qts .is_pyside_5_wrapper :
69+ if qts .is_pyside_5_wrapper : # pragma: no cover
7070 _reenter_event_type = typing .cast (
7171 typing .Callable [[int ], QtCore .QEvent .Type ], QtCore .QEvent .Type
7272 )(event_hint )
@@ -96,7 +96,7 @@ def register_requested_event_type(requested_value: int | QtCore.QEvent.Type) ->
9696 raise qtrio .EventTypeAlreadyRegisteredError ()
9797
9898 # TODO: https://bugreports.qt.io/browse/PYSIDE-1468
99- if qts .is_pyside_5_wrapper :
99+ if qts .is_pyside_5_wrapper : # pragma: no cover
100100 event_hint = typing .cast (
101101 typing .Callable [[int | QtCore .QEvent .Type ], int ],
102102 QtCore .QEvent .registerEventType ,
@@ -113,7 +113,7 @@ def register_requested_event_type(requested_value: int | QtCore.QEvent.Type) ->
113113
114114 # assign to the global
115115 # TODO: https://bugreports.qt.io/browse/PYSIDE-1347
116- if qts .is_pyside_5_wrapper :
116+ if qts .is_pyside_5_wrapper : # pragma: no cover
117117 _reenter_event_type = typing .cast (
118118 typing .Callable [[int ], QtCore .QEvent .Type ], QtCore .QEvent .Type
119119 )(event_hint )
@@ -530,7 +530,7 @@ def maybe_build_application() -> "QtGui.QGuiApplication":
530530 application : QtCore .QCoreApplication
531531
532532 # TODO: https://bugreports.qt.io/browse/PYSIDE-1467
533- if qts .is_pyside_5_wrapper :
533+ if qts .is_pyside_5_wrapper : # pragma: no cover
534534 maybe_application = typing .cast (
535535 typing .Optional ["QtCore.QCoreApplication" ],
536536 QtWidgets .QApplication .instance (),
0 commit comments