def test_parse__terminal_non_empty_lines(self):
        suffixes = [
            "foo",
            "foo\n",
            "\nfoo",
            "\nfoo\n"
        ]
        for suffix in suffixes:
            with self.subTest(suffix=suffix):
                # TODO: check the line number.
                with self.assertRaises(ParsingError):
                    info = self.parse_blt(self.BLT_STRING + suffix)
Test a BLT string with non-empty lines at the end.
dataset/ETHPy150Open cjerdonek/open-rcv/openrcv/test/test_parsing.py/BLTParserTest.test_parse__terminal_non_empty_lines