Skip to content

Commit 05229e8

Browse files
[REGRESSION] Deepsource F**ed up again and went on the flake (- WIP #94 -)
Changes in file multicast/hear.py: - possible workaround added Changes in file multicast/recv.py: - possible workaround added Changes in file tests/test_usage.py: - possible workaround added
1 parent 225a855 commit 05229e8

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

multicast/hear.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,13 @@
172172
else: # pragma: no branch
173173
multicast = _sys.modules["""multicast"""]
174174
_BLANK = multicast._BLANK # skipcq: PYL-W0212 - module ok
175+
# skipcq
175176
from . import recv as recv # pylint: disable=useless-import-alias - skipcq: PYL-C0414
177+
# skipcq
176178
from . import send as send # pylint: disable=useless-import-alias - skipcq: PYL-C0414
177179
except Exception as importErr:
178180
del importErr # skipcq - cleanup any error leaks early
181+
# skipcq
179182
import multicast as multicast # pylint: disable=cyclic-import - skipcq: PYL-R0401, PYL-C0414
180183

181184

multicast/recv.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,14 @@
177177
try:
178178
import sys
179179
if 'multicast' not in sys.modules:
180+
# skipcq
180181
from . import multicast as multicast # pylint: disable=cyclic-import - skipcq: PYL-C0414
181182
else: # pragma: no branch
182183
multicast = sys.modules["""multicast"""]
183184
_BLANK = multicast._BLANK # skipcq: PYL-W0212 - module ok
184185
except Exception as importErr:
185186
del importErr # skipcq - cleanup any error leaks early
187+
# skipcq
186188
import multicast as multicast # pylint: disable=cyclic-import - skipcq: PYL-R0401, PYL-C0414
187189

188190

tests/test_usage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ class BasicIntegrationTestSuite(context.BasicUsageTestSuite):
478478
__name__ = """tests.test_usage.BasicIntegrationTestSuite"""
479479

480480
def setUp(self):
481-
super(self.__class__, self).setUp()
481+
super(self.__class__, self).setUp() # skipcq: PYL-E1003 - this is more polymorphic
482482
if (self._thepython is None):
483483
self.skipTest(str("""No python cmd to test with!"""))
484484

0 commit comments

Comments
 (0)