def METHOD_NAME(self):
    # all trailing content that is not a semicolon should raise
    # a ValueError
    with self.assertRaises(ValueError):
        self.run_test("{myval=1;}trailing", [("myval", "1")])