MCPcopy Create free account
hub / github.com/scanny/python-pptx / macStyle_fixture

Method macStyle_fixture

tests/text/test_fonts.py:460–466  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

458
459 @pytest.fixture
460 def macStyle_fixture(self):
461 bytes_ = b"xxxxyyyy....................................\xF0\xBA........"
462 stream = _Stream(io.BytesIO(bytes_))
463 offset, length = 0, len(bytes_)
464 head_table = _HeadTable(None, stream, offset, length)
465 expected_value = 61626
466 return head_table, expected_value
467
468 # fixture components -----------------------------------
469

Callers

nothing calls this directly

Calls 2

_StreamClass · 0.90
_HeadTableClass · 0.90

Tested by

no test coverage detected