

def test_parse__terminal_empty_lines(self):
    'Test a BLT string with empty lines at the end.'
    info = self.parse_blt((self.BLT_STRING + '\n\n'))
    self.assertEqual(type(info), ContestInput)
    self.assertEqual(info.name, '"My Election"')

dataset/ETHPy150Open cjerdonek/open-rcv/openrcv/test/test_parsing.py BLTParserTest.test_parse__terminal_empty_lines/original