Xqt submitted this change.
coverage: update coverage in deletionbot_tests.py
Change-Id: I4e1efda5ad18734eb3e5ad6a36d3e50adfd0c4a6
---
M tests/deletionbot_tests.py
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/deletionbot_tests.py b/tests/deletionbot_tests.py
index 12a2849..f9455b2 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 @@
"""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',
To view, visit change 1108094. To unsubscribe, or for help writing mail filters, visit settings.