Skip to content

Commit

Permalink
Remove print on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed Jul 26, 2023
1 parent 691a895 commit d247a49
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/unit/test_con_func.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import libcst as cst
from libcst.codemod import CodemodTest

from bump_pydantic.codemods.con_func import ConFuncCallCommand
Expand Down Expand Up @@ -83,19 +82,6 @@ def test_conint_to_optional_annotated(self) -> None:
class Potato(BaseModel):
potato: Optional[conint(ge=0, le=100)]
"""
import textwrap

from rich.pretty import pprint

pprint(cst.parse_module(textwrap.dedent(before)))
another_before = """
from typing import Optional
from pydantic import BaseModel, conint
class Potato(BaseModel):
potato: conint(ge=0, le=100)
"""
pprint(cst.parse_module(textwrap.dedent(another_before)))
after = """
from typing import Optional
from pydantic import Field, BaseModel
Expand Down

0 comments on commit d247a49

Please sign in to comment.