We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fefad80 commit 6b8fe5bCopy full SHA for 6b8fe5b
1 file changed
tests/test_types.py
@@ -921,6 +921,7 @@ def test_nested_field_geography_with_params_as_string() -> None:
921
assert field.field_type.crs == "EPSG:4326"
922
assert field.field_type.algorithm == "planar"
923
924
+
925
def test_decimal_precision_validation() -> None:
926
"""Test that DecimalType rejects precision outside the [1, 38] range."""
927
decimal_type = DecimalType(38, 2)
@@ -933,4 +934,4 @@ def test_decimal_precision_validation() -> None:
933
934
DecimalType(0, 2)
935
936
with pytest.raises(ValidationError, match="Decimal precision must be between 1 and 38"):
- DecimalType(-5, 2)
937
+ DecimalType(-5, 2)
0 commit comments