(use_async: bool)
| 249 | @parametrize |
| 250 | @pytest.mark.asyncio |
| 251 | async def test_datetime_custom_format(use_async: bool) -> None: |
| 252 | dt = parse_datetime("2022-01-15T06:34:23Z") |
| 253 | |
| 254 | result = await transform(dt, Annotated[datetime, PropertyInfo(format="custom", format_template="%H")], use_async) |
| 255 | assert result == "06" # type: ignore[comparison-overlap] |
| 256 | |
| 257 | |
| 258 | class DateDictWithRequiredAlias(TypedDict, total=False): |
nothing calls this directly
no test coverage detected