def METHOD_NAME(self):
    with self.assertRaisesRegex(
        qiskit.qasm2.QASM2ParseError, r"expected a word boundary after a float"
    ):
        qiskit.qasm2.loads("OPENQASM 2.0; qreg q[1]; U(2.0a, 0, 0) q[0];")