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

Method read_flds_fixture

tests/text/test_fonts.py:384–389  ·  view source on GitHub ↗
(self, file_)

Source from the content-addressed store, hash-verified

382
383 @pytest.fixture
384 def read_flds_fixture(self, file_):
385 stream = _Stream(file_)
386 tmpl, offset = b">4sHH", 0
387 file_.read.return_value = b"foob" b"\x00\x2A" b"\x00\x15"
388 expected_values = (b"foob", 42, 21)
389 return stream, tmpl, offset, file_, expected_values
390
391 # fixture components -----------------------------------
392

Callers

nothing calls this directly

Calls 1

_StreamClass · 0.90

Tested by

no test coverage detected