

def test_parse(self):
    'Test passing an output StreamInfo object.'
    output_info = StringInfo()
    info = self.parse_blt(self.BLT_STRING, output_info=self)
    self.assertEqual(type(info), ContestInput)
    self.assertEqual(info.name, '"My Election"')
    self.assertEqual(info.ballot_count, 2)
    self.assertEqual(output_info.value, '2 2\n1 2 4 3 1\n')

dataset/ETHPy150Open cjerdonek/open-rcv/openrcv/test/test_parsing.py BLTParserTest.test_parse/VarMisuse@30/54 `output_info`->`self`