MCPcopy
hub / github.com/celery/celery / WhateverIO

Class WhateverIO

t/unit/conftest.py:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49
50class WhateverIO(io.StringIO):
51
52 def __init__(self, v=None, *a, **kw):
53 _SIO_init(self, v.decode() if isinstance(v, bytes) else v, *a, **kw)
54
55 def write(self, data):
56 _SIO_write(self, data.decode() if isinstance(data, bytes) else data)
57
58
59@pytest.fixture(scope='session')

Callers 3

stdoutsFunction · 0.70
wrap_loggerFunction · 0.70
openFunction · 0.70

Calls

no outgoing calls

Tested by 3

stdoutsFunction · 0.56
wrap_loggerFunction · 0.56
openFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…