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',