def _write_packet(self, final):
        status = 1 if final else 0
        _header.pack_into(self._buf, 0, self._type, status, self._pos, 0, self._packet_no)
        self._packet_no = (self._packet_no + 1) % 256
        self._transport.send(self._buf[:self._pos], final)
        self._pos = 8
Test service.show
dataset/ETHPy150Open denisenkom/pytds/pytds/tds.py/_TdsWriter._write_packet--crossover with--dataset/ETHPy150Open saltstack/salt/tests/integration/modules/mac_service.py/MacServiceModuleTest.test_show