From c56d4c500d69f9831a45d5f0904dce2adfc2d7af Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Sat, 12 Aug 2023 18:34:16 -0400 Subject: [PATCH] Drop PyPy unit testing - improves consistency (#922) --- .github/workflows/tests.yml | 11 +---------- apprise/plugins/NotifyBoxcar.py | 3 +-- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cb3280f6b4..4d49b8e10d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -64,12 +64,6 @@ jobs: - os: "ubuntu-latest" python-version: "3.11" - # Test more available versions of PyPy on Linux. - - os: "ubuntu-latest" - python-version: "pypy3.8" - - os: "ubuntu-latest" - python-version: "pypy3.9" - defaults: run: shell: bash @@ -114,13 +108,10 @@ jobs: run: | pip install -r all-plugin-requirements.txt - # Installing `dbus-python` will only work on Linux/CPython. - [[ $RUNNER_OS = "Linux" && $PYTHON != 'pypy'* ]] && pip install dbus-python || true - - name: Install project dependencies (Windows) if: runner.os == 'Windows' run: | - [[ $PYTHON != 'pypy'* ]] && pip install -r win-requirements.txt || true + pip install -r win-requirements.txt || true # Install package in editable mode, # and run project-specific tasks. diff --git a/apprise/plugins/NotifyBoxcar.py b/apprise/plugins/NotifyBoxcar.py index 9a5e07d486..7fa1529b5b 100644 --- a/apprise/plugins/NotifyBoxcar.py +++ b/apprise/plugins/NotifyBoxcar.py @@ -240,8 +240,7 @@ def send(self, body, title='', notify_type=NotifyType.INFO, **kwargs): if title: payload['aps']['@title'] = title - if body: - payload['aps']['alert'] = body + payload['aps']['alert'] = body if self._tags: payload['tags'] = {'or': self._tags}