jenkins-bot merged this change.

View Change

Approvals: Mpaa: Looks good to me, approved jenkins-bot: Verified
[bugfix] Require bs4 library for TestPageOCR

if bs4 isn't imported global Soup is not defined

Bug: T210335
Change-Id: Iaeabb046660b294fa19025282a344356f756c5bf
M tests/
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/tests/ b/tests/
index 74474b3..ee0b134 100644
--- a/tests/
+++ b/tests/
@@ -321,6 +321,7 @@
self.assertEqual(page.quality_level, 0)

class TestPageOCR(TestCase):

"""Test page ocr functions."""

To view, visit change 475612. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iaeabb046660b294fa19025282a344356f756c5bf
Gerrit-Change-Number: 475612
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <>
Gerrit-Reviewer: John Vandenberg <>
Gerrit-Reviewer: Mpaa <>
Gerrit-Reviewer: jenkins-bot (75)