attempt to fix CI (#455)

use pytest's -W error flag instead of Python's so that warnings from python about pytest itself don't fail CI
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 47fd400..6b8cfc3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -48,4 +48,4 @@
         python -m pip install pytest
     - name: Test with pytest
       run: |
-        python -W error -m pytest
+        python -m pytest -W error