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

Method it_can_be_closed

tests/text/test_fonts.py:349–352  ·  view source on GitHub ↗
(self, close_fixture)

Source from the content-addressed store, hash-verified

347 assert isinstance(stream, _Stream)
348
349 def it_can_be_closed(self, close_fixture):
350 stream, file_ = close_fixture
351 stream.close()
352 file_.close.assert_called_once_with()
353
354 def it_can_read_fields_from_a_template(self, read_flds_fixture):
355 stream, tmpl, offset, file_, expected_values = read_flds_fixture

Callers

nothing calls this directly

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected