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

Method bytes_fixture

tests/text/test_fonts.py:596–601  ·  view source on GitHub ↗
(self, stream_)

Source from the content-addressed store, hash-verified

594
595 @pytest.fixture
596 def bytes_fixture(self, stream_):
597 name_table = _NameTable(None, stream_, 42, 360)
598 bytes_ = "\x00\x01\x02\x03\x04\x05"
599 stream_.read.return_value = bytes_
600 expected_value = bytes_
601 return name_table, expected_value
602
603 @pytest.fixture(
604 params=[

Callers

nothing calls this directly

Calls 1

_NameTableClass · 0.90

Tested by

no test coverage detected