Skip to content

Commit 148fc70

Browse files
Coverage for pydantic (aio-libs#1641)
1 parent 998f249 commit 148fc70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

yarl/_url.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1490,7 +1490,7 @@ def human_repr(self) -> str:
14901490
netloc = make_netloc(user, password, host, self.explicit_port)
14911491
return unsplit_result(self._scheme, netloc, path, query_string, fragment)
14921492

1493-
if HAS_PYDANTIC: # pragma: no cover
1493+
if HAS_PYDANTIC:
14941494
# Borrowed from https://docs.pydantic.dev/latest/concepts/types/#handling-third-party-types
14951495
@classmethod
14961496
def __get_pydantic_json_schema__(

0 commit comments

Comments
 (0)