Skip to content

Commit

Permalink
Fix syntax warning
Browse files Browse the repository at this point in the history
DTWIN-1492
  • Loading branch information
lincrosenbach committed Dec 6, 2023
1 parent e3419c9 commit d5ab472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serialchemy/_tests/test_nested_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def setup(model, db_session):
def test_custom_serializer(model, serializer_strategy, db_session, data_regression):
serializer_class = (
getEmployeeSerializerNestedModelFields(model)
if serializer_strategy is "NestedModelFields"
if serializer_strategy=="NestedModelFields"
else EmployeeSerializerNestedAttrsFields
)
emp = db_session.query(model.Employee).get(1)
Expand Down

0 comments on commit d5ab472

Please sign in to comment.