def test_coerce_to_bytes_converts_text(self):
        bytestr = b'some bytes'
        text = bytestr.decode('utf-8')
        assert dump._coerce_to_bytes(text) == bytestr
Show that _coerce_to_bytes handles text input.
dataset/ETHPy150Open sigmavirus24/requests-toolbelt/tests/test_dump.py/TestSimplePrivateFunctions.test_coerce_to_bytes_converts_text