From 6207264256ed2719abc0b1319e5ebe1b3b3796ea Mon Sep 17 00:00:00 2001 From: POLA <60993402+PrincipleOfLeastAction@users.noreply.github.com> Date: Wed, 26 Apr 2023 21:39:04 +1000 Subject: [PATCH] Fix pytest failing on latest version. --- .github/workflows/lint.yml | 2 +- pywizlight/push_manager.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 78b3516..a49f9d9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -43,7 +43,7 @@ jobs: - name: Test with pytest run: | - pytest --durations=0 --cov=pywizlight --cov-report term-missing --cov-report xml + pytest --asyncio-mode=auto --durations=0 --cov=pywizlight --cov-report term-missing --cov-report xml - name: Upload codecov uses: codecov/codecov-action@v2 diff --git a/pywizlight/push_manager.py b/pywizlight/push_manager.py index ff616da..7445ca3 100755 --- a/pywizlight/push_manager.py +++ b/pywizlight/push_manager.py @@ -15,7 +15,6 @@ class PushManager: - _manager = None @classmethod