diff --git a/tests/dialects/test_builtin.py b/tests/dialects/test_builtin.py index cc8f1af224..4811a813fa 100644 --- a/tests/dialects/test_builtin.py +++ b/tests/dialects/test_builtin.py @@ -33,6 +33,7 @@ VectorBaseTypeConstraint, VectorRankConstraint, VectorType, + f16, f32, f64, i1, @@ -58,8 +59,7 @@ def test_FloatType_bitwidths(): def test_FloatType_formats(): with pytest.raises(NotImplementedError): BFloat16Type().format - with pytest.raises(NotImplementedError): - Float16Type().format + assert Float16Type().format == " int: @property def format(self) -> str: - raise NotImplementedError() + return "