Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
goanpeca committed Jul 17, 2024
1 parent 1c65799 commit 7e466b2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions napari_plugin_manager/_tests/test_qt_plugin_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@
import qtpy
from napari.plugins._tests.test_npe2 import mock_pm # noqa
from napari.utils.translations import trans
<<<<<<< HEAD
from qtpy.QtCore import QMimeData, QPointF, Qt, QUrl
from qtpy.QtGui import QDropEvent
=======
from qtpy.QtCore import Qt
>>>>>>> main

if (qtpy.API_NAME == 'PySide2') or (
sys.version_info[:2] > (3, 10) and platform.system() == "Linux"
Expand Down Expand Up @@ -526,6 +522,8 @@ def test_cancel_all(qtbot, tmp_virtualenv, plugin_dialog, request):

assert plugin_dialog.available_list.count() == 2
assert plugin_dialog.installed_list.count() == 2


def test_shortcut_close(plugin_dialog, qtbot):
qtbot.keyClicks(
plugin_dialog, 'W', modifier=Qt.KeyboardModifier.ControlModifier
Expand Down

0 comments on commit 7e466b2

Please sign in to comment.