From 8129d22f3810b72e365a517dc8da7b2e7fd9d8b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20S=C3=A1nchez?= Date: Sat, 11 Jan 2025 20:14:18 +0000 Subject: [PATCH] Remove specific year span dependency in test (#478) --- tests/test_qt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_qt.py b/tests/test_qt.py index f37cb6c..55df417 100644 --- a/tests/test_qt.py +++ b/tests/test_qt.py @@ -306,4 +306,4 @@ def test_tray_icon_last_synced(self, qtbot, tray_icon): exampleDate = datetime(year=1970, month=1, day=10, tzinfo=timezone.utc) tray_icon.set_last_synced(exampleDate) assert tray_icon._menu._last_synced == exampleDate - assert '54 years' in tray_icon._menu._status.text() + assert 'years' in tray_icon._menu._status.text()