jenkins-bot has submitted this change and it was merged.
Change subject: test: skip test if socketIO-version >= 0.6.1 ......................................................................
test: skip test if socketIO-version >= 0.6.1
Bug: T85716 Change-Id: I05a7e4b0ce33fd6dcdaf4ba81fd3d495e2be9d7d --- M tests/pagegenerators_tests.py 1 file changed, 7 insertions(+), 0 deletions(-)
Approvals: XZise: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/pagegenerators_tests.py b/tests/pagegenerators_tests.py index dc1d4e8..7269493 100755 --- a/tests/pagegenerators_tests.py +++ b/tests/pagegenerators_tests.py @@ -13,6 +13,8 @@ import os import sys
+from distutils.version import LooseVersion + import pywikibot from pywikibot import pagegenerators, date
@@ -831,6 +833,11 @@ except ImportError: raise unittest.SkipTest('socketIO_client not available')
+ if LooseVersion(socketIO_client.__version__) >= LooseVersion('0.6.1'): + raise unittest.SkipTest( + 'socketIO_client %s not supported by Wikimedia-Stream' + % socketIO_client.__version__) + def test_RC_pagegenerator_result(self): import logging lgr = logging.getLogger('socketIO_client')
pywikibot-commits@lists.wikimedia.org