Update ruff and run ruff format

This commit is contained in:
James Hilliard
2025-01-16 03:15:32 +01:00
committed by Arun Babu Neelicattu
parent dbc612c7f3
commit 6a65ca94bc
11 changed files with 69 additions and 69 deletions
+3 -3
View File
@@ -27,9 +27,9 @@ def test_enum_is_comparable_with_int():
def test_enum_to_dict():
assert (
"choice" not in Test(choice=Choice.ZERO).to_dict()
), "Default enum value is not serialized"
assert "choice" not in Test(choice=Choice.ZERO).to_dict(), (
"Default enum value is not serialized"
)
assert (
Test(choice=Choice.ZERO).to_dict(include_default_values=True)["choice"]
== "ZERO"