Skip to content

Commit

Permalink
Merge "Revert "[tests] skip PetScanPageGeneratorTestCase if APIError …
Browse files Browse the repository at this point in the history
…occurred""
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Jan 28, 2024
2 parents 4d38586 + 71f6a72 commit e4e6788
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/pagegenerators_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import pywikibot
from pywikibot import date, pagegenerators
from pywikibot.exceptions import (
APIError,
NoPageError,
ServerError,
UnknownExtensionError,
Expand Down Expand Up @@ -379,8 +378,7 @@ def test_petscan(self):
site = self.get_site()
gen = pagegenerators.PetScanPageGenerator(['Pywikibot Protect Test'],
True, None, site)
with skipping(ServerError,
APIError): # (temporary) disabled due to T352482
with skipping(ServerError):
self.assertPageTitlesEqual(gen, titles=(
'User:Sn1per/ProtectTest1', 'User:Sn1per/ProtectTest2'),
site=site)
Expand Down

0 comments on commit e4e6788

Please sign in to comment.