Provides a no-op tqdm-like object.
| 52 | |
| 53 | |
| 54 | class FakeTqdmObject: |
| 55 | """Provides a no-op tqdm-like object.""" |
| 56 | |
| 57 | def __init__(self, **kwargs): |
| 58 | """No-op.""" |
| 59 | |
| 60 | def update(self, n=1): |
| 61 | """No-op.""" |
| 62 | |
| 63 | def close(self): |
| 64 | """No-op.""" |
| 65 | |
| 66 | def set_description(self, desc=None, refresh=True): |
| 67 | """No-op.""" |
| 68 | |
| 69 | |
| 70 | class FakeTqdmLoggingRedirect: |
nothing calls this directly
no outgoing calls
no test coverage detected