From 457f3cbaae4afcc63fce1727557213a0d9233a5b Mon Sep 17 00:00:00 2001 From: xqt Date: Fri, 3 Jan 2025 17:00:17 +0100 Subject: [PATCH] coverage: update coverage in deletionbot_tests.py Change-Id: I4e1efda5ad18734eb3e5ad6a36d3e50adfd0c4a6 --- tests/deletionbot_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/deletionbot_tests.py b/tests/deletionbot_tests.py index 12a2849052..f9455b247b 100755 --- a/tests/deletionbot_tests.py +++ b/tests/deletionbot_tests.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """Tests for scripts/delete.py.""" # -# (C) Pywikibot team, 2014-2024 +# (C) Pywikibot team, 2014-2025 # # Distributed under the terms of the MIT license. # @@ -42,7 +42,7 @@ def test_undelete_existing(self): """Test undeleting an existing page.""" site = self.get_site() p1 = pywikibot.Page(site, 'User:Unicodesnowman/ExistingPage') - if not p1.exists(): + if not p1.exists(): # pragma: no cover p1.text = 'pywikibot unit test page' p1.save('unit test') delete.main('-page:User:Unicodesnowman/ExistingPage', '-always',