def test_parse__terminal_non_empty_lines(self):
        """Test a BLT string with non-empty lines at the end."""
        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)
dataset/ETHPy150Open cjerdonek/open-rcv/openrcv/test/test_parsing.py/BLTParserTest.test_parse__terminal_non_empty_lines/operator `+` -> `-`