Skip to content

Commit

Permalink
remove devtools.debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ksauder committed Aug 27, 2024
1 parent 2fddb86 commit 78c0646
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_orm_metaclass.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import Annotated, Optional, TypeVar

import pytest
from devtools import debug
from django.db import models
from pydantic import GetJsonSchemaHandler, ValidationError, model_serializer
from pydantic.json_schema import JsonSchemaValue
Expand Down Expand Up @@ -300,7 +299,6 @@ class Meta:
assert SomeModelSchema.__annotations__["field1"] == str

sms = SomeModelSchema(id=1, field1="char", field2="opt")
debug(sms)
assert sms.json() == '{"field2":"opt","id":1,"field1":"char"}'
assert sms.json_schema() == {
"properties": {
Expand Down

0 comments on commit 78c0646

Please sign in to comment.