From 9d2cc1ecc57e64ec55d991666e2775f68b01762a Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 2 Feb 2023 15:58:15 +0100 Subject: [PATCH] fix pylint C1803: 'icons_src == {}' can be simplified to 'not icons_src' as an empty dict is falsey (use-implicit-booleaness-not-comparison) --- tests/update.TestCase | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/update.TestCase b/tests/update.TestCase index 76b2739f..fe3159ce 100755 --- a/tests/update.TestCase +++ b/tests/update.TestCase @@ -1358,7 +1358,7 @@ class UpdateTest(unittest.TestCase): # pylint: disable=protected-access icons_src = fdroidserver.update._get_apk_icons_src('urzip-release.apk', None) - assert icons_src == {} + assert not icons_src def test_strip_and_copy_image(self): tmptestsdir = tempfile.mkdtemp(