Drop PyPy unit testing - improves consistency (#922)

This commit is contained in:
Chris Caron 2023-08-12 18:34:16 -04:00 committed by GitHub
parent 3d16cbf3d3
commit c56d4c500d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 12 deletions

View File

@ -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.

View File

@ -240,8 +240,7 @@ class NotifyBoxcar(NotifyBase):
if title:
payload['aps']['@title'] = title
if body:
payload['aps']['alert'] = body
payload['aps']['alert'] = body
if self._tags:
payload['tags'] = {'or': self._tags}