def test_continuation_cannot_interleave_unknown_frame(self, frame_factory):
        c = h2.connection.H2Connection(client_side=False)
        c.initiate_connection()
        c.receive_data(frame_factory.preamble())
        c.clear_outbound_data_buffer()

        frames = self._build_continuation_sequence(
            headers=self.example_request_headers,
            block_size=5,
            frame_factory=frame_factory,
        )
        assert len(frames) > 2  # This is mostly defensive.

        bogus_frame = frame_factory.build_data_frame(
            data=b'hello',
            stream_id=1,
        )
        bogus_frame.type = 88
        frames.insert(len(frames) - 2, bogus_frame)
        data = b''.join(f.serialize() for f in frames)

        with pytest.raises(h2.exceptions.ProtocolError) as e:
            c.receive_data(data)

        assert "invalid frame" in str(e.value).lower()
the first 3 and the last 3 should be diametrically opposed
dataset/ETHPy150Open python-hyper/hyper-h2/test/test_complex_logic.py/TestContinuationFrames.test_continuation_cannot_interleave_unknown_frame--crossover with--dataset/ETHPy150Open tariqdaouda/Mariana/Mariana/tests/tests.py/MLPTests.test_embedding