From f8577d5ab61be64fa986f1307c592ea0e65b947b Mon Sep 17 00:00:00 2001
From: David Stansby <dstansby@gmail.com>
Date: Wed, 10 May 2023 12:58:48 +0100
Subject: [PATCH] Use pyqt6 for testing

---
 pytest.ini | 2 +-
 setup.cfg  | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/pytest.ini b/pytest.ini
index d02cfa1c..548e5f53 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -1,5 +1,5 @@
 [pytest]
-qt_api=pyqt5
+qt_api = pyqt6
 filterwarnings =
     error
 
diff --git a/setup.cfg b/setup.cfg
index ddf3862b..61473ac2 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -53,7 +53,8 @@ docs =
     sphinx-automodapi
     sphinx-gallery
 testing =
-    napari[pyqt5]
+    napari[pyqt6-experimental]
+    pyqt6
     pytest
     pytest-cov
     pytest-mpl