def METHOD_NAME(self):
    with self.assertRaisesRegex(
        qiskit.qasm2.QASM2ParseError,
        r"\[strict\] all floats must include a decimal point",
    ):
        qiskit.qasm2.loads("OPENQASM 2.0; qreg q[1]; U(25e-2, 0, 0) q[0];", strict=True)