From 4ba7beff236a9f44cdde6db58a7dea97f34cb1c1 Mon Sep 17 00:00:00 2001 From: ruaridhg Date: Fri, 5 May 2023 15:36:57 +0100 Subject: [PATCH 1/2] Added qt_api in pytest.ini and commented out error in filterwarnings --- pytest.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index e3ef4b7d..1749fef2 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,6 +1,7 @@ [pytest] +qt_api=pyqt5 filterwarnings = - error + #error # Coming from vispy ignore:distutils Version classes are deprecated:DeprecationWarning From 1579c745980daf9fb70d4692ff4a3bfdea68a98f Mon Sep 17 00:00:00 2001 From: ruaridhg Date: Fri, 5 May 2023 15:59:34 +0100 Subject: [PATCH 2/2] Uncommented error and added ignore np.bool8 deprecated alias --- pytest.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index 1749fef2..d02cfa1c 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,7 +1,8 @@ [pytest] qt_api=pyqt5 filterwarnings = - #error + error # Coming from vispy ignore:distutils Version classes are deprecated:DeprecationWarning + ignore:`np.bool8` is a deprecated alias for `np.bool_`:DeprecationWarning