def test_convert_frame_to_lines(self):
        f = Frame('SEND', {
            'header1': 'value1',
            'headerNone': None,
            ' no ': ' trimming ',
        }, 'this is the body')

        lines = convert_frame_to_lines(f)

        s = pack(lines)

        if 0x03000000 >= sys.hexversion:
            self.assertEqual(bytearray('SEND\n no : trimming \nheader1:value1\n\nthis is the body\x00', 'ascii'), s)
        else:
            self.assertEqual('SEND\n no : trimming \nheader1:value1\n\nthis is the body\x00', s)
dataset/ETHPy150Open jasonrbriggs/stomp.py/stomp/test/utils_test.py/TestUtils.test_convert_frame_to_lines/swapped operands of `>=`