fixed typo in pragma-comment

pull/2097/head
Sergey G. Brester 7 years ago committed by GitHub
parent 20fffc44c1
commit 6dc9c23a25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -680,7 +680,7 @@ class LogCaptureTestCase(unittest.TestCase):
return self._val
# try to lock, if not possible - return cached/empty (max 5 times):
lck = self._lock.acquire(False)
if not lck: # pargma: no cover (may be too sporadic on slow systems)
if not lck: # pragma: no cover (may be too sporadic on slow systems)
self._nolckCntr += 1
if self._nolckCntr <= 5:
return self._val if self._val is not None else ''

Loading…
Cancel
Save