diff --git a/test/test_pymbolic.py b/test/test_pymbolic.py index 9efe490..bb7bccc 100644 --- a/test/test_pymbolic.py +++ b/test/test_pymbolic.py @@ -289,7 +289,7 @@ def test_parser(): logger.info("%r", parse("0.")) logger.info("%r", parse("0.e1")) assert parse("0.e1") == 0 - assert parse("1e-12") == 1e-12 + assert parse("1e-12") == 1e-12 # noqa: RUF069 logger.info("%r", parse("a >= 1")) logger.info("%r", parse("a <= 1")) diff --git a/test/test_sympy.py b/test/test_sympy.py index bcd4f04..838f23a 100644 --- a/test/test_sympy.py +++ b/test/test_sympy.py @@ -67,7 +67,7 @@ def _test_to_pymbolic(mapper, sym, use_symengine): # FIXME: Why isn't this exact? assert abs(mapper(sym.pi) - math.pi) < 1e-14 assert abs(mapper(sym.E) - math.e) < 1e-14 - assert mapper(sym.I) == 1j + assert mapper(sym.I) == 1j # noqa: RUF069 # }}}