Commit b0a6ada6 authored by Adrian DC's avatar Adrian DC
Browse files

chore: coverage: ignore unused PyInquirer patcher lines coverage

parent d6623a31
Loading
Loading
Loading
Loading
+2 −2
Changes for gitlabci_local/package/patcher.py: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ class InquirerControl(TokenListControl):
            selected = (index == self.selected_option_index)

            @if_mousedown
            def select_item(cli, mouse_event):
            def select_item(cli, mouse_event): # pragma: no cover
                # bind option with this index to mouse event
                self.selected_option_index = index
                self.answered = True
@@ -70,7 +70,7 @@ class InquirerControl(TokenListControl):
                    try:
                        tokens.append(
                            (T.Selected if selected else T, str(choice[0]), select_item))
                    except:
                    except: # pragma: no cover
                        tokens.append(
                            (T.Selected if selected else T, choice[0], select_item))
                tokens.append((T, '\n'))