From d247a49a8a0f0bf1c0414934069444857c3c595d Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Wed, 26 Jul 2023 15:58:10 +0100 Subject: [PATCH] Remove print on tests --- tests/unit/test_con_func.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/unit/test_con_func.py b/tests/unit/test_con_func.py index aed0c6c..72d5689 100644 --- a/tests/unit/test_con_func.py +++ b/tests/unit/test_con_func.py @@ -1,4 +1,3 @@ -import libcst as cst from libcst.codemod import CodemodTest from bump_pydantic.codemods.con_func import ConFuncCallCommand @@ -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