From 75464e8d4a747b45a24db23d95db7a399d6c7a05 Mon Sep 17 00:00:00 2001 From: Carlos Pereira Atencio Date: Sun, 4 Feb 2024 23:34:06 +0000 Subject: [PATCH 1/2] tests: Fix issue where gettext is not individually installed in some modules. --- tests/interface/test_dialogs.py | 1 + tests/interface/test_editor.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/interface/test_dialogs.py b/tests/interface/test_dialogs.py index 5b0115af4..b719fcc0d 100644 --- a/tests/interface/test_dialogs.py +++ b/tests/interface/test_dialogs.py @@ -5,6 +5,7 @@ import os import pytest +import mu.i18n import mu.interface.dialogs from PyQt5.QtWidgets import QDialog, QWidget, QDialogButtonBox from unittest import mock diff --git a/tests/interface/test_editor.py b/tests/interface/test_editor.py index 4c9486230..c20125548 100644 --- a/tests/interface/test_editor.py +++ b/tests/interface/test_editor.py @@ -3,6 +3,7 @@ Tests for the user interface elements of Mu. """ from unittest import mock +import mu.i18n import mu.interface.editor import keyword import re From 553d24eea5eb05786414f289ff7ffa8406d05cbc Mon Sep 17 00:00:00 2001 From: Carlos Pereira Atencio Date: Sun, 4 Feb 2024 23:43:04 +0000 Subject: [PATCH 2/2] ci: Update actions/setup-python to v5. --- .github/workflows/build.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4ed307b68..44f23d1dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.8' - name: Display Python info diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 045204e30..669670d24 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Display Python info