diff --git a/pydantic/fields.py b/pydantic/fields.py
--- a/pydantic/fields.py
+++ b/pydantic/fields.py
@@ -943,7 +943,7 @@ def _validate_sequence_like(  # noqa: C901 (ignore complexity)
         elif self.shape == SHAPE_TUPLE_ELLIPSIS:
             converted = tuple(result)
         elif self.shape == SHAPE_DEQUE:
-            converted = deque(result)
+            converted = deque(result, maxlen=getattr(v, 'maxlen', None))
         elif self.shape == SHAPE_SEQUENCE:
             if isinstance(v, tuple):
                 converted = tuple(result)
@@ -952,7 +952,7 @@ def _validate_sequence_like(  # noqa: C901 (ignore complexity)
             elif isinstance(v, Generator):
                 converted = iter(result)
             elif isinstance(v, deque):
-                converted = deque(result)
+                converted = deque(result, maxlen=getattr(v, 'maxlen', None))
         return converted, None
 
     def _validate_iterable(

Some more cases:

```
>>> from collections import deque
>>> from pydantic import BaseModel
>>> class D(BaseModel):
...     q: deque[int] = deque(maxlen=10)
... 
>>> d = D()
>>> d
D(q=deque([], maxlen=10))

>>> d.q = deque(maxlen=25)
>>> d
D(q=deque([], maxlen=25))
```

So it seems that it is validation issue on model creation only.

I do not know the codebase here but potentially:

https://github.com/pydantic/pydantic/blob/f35c780cc3cf073c400ee038b8b6dd6d7b5703d9/pydantic/v1/fields.py#L954C25-L954C25
Thanks @maciekglowka for this issue 🙏 

As you may know, `Pydantic V2` is out and we are not actively working on `V1`.

I've checked your first example code on V2, all of them returning `D(q=deque([], maxlen=15))`

Same for you second example. In `V2` you can have validation on assignment to a `deque` field like:

```py
from collections import deque
from typing import Deque

from typing_extensions import Annotated
from pydantic import BaseModel, ConfigDict, Field

class D(BaseModel):
    q: Annotated[Deque[int], Field(deque(maxlen=10), max_length=10)]

    model_config = ConfigDict(validate_assignment=True)

d = D()
d.q = deque([1] * 25)
```

Note: We still accept bug fixes on `V1` but it should be an easy fix.
Thanks for checking.
Yeah I've just forked the repo. If I'll be able to fix this I'm gonna make a PR.
diff --git a/tests/test_types.py b/tests/test_types.py
--- a/tests/test_types.py
+++ b/tests/test_types.py
@@ -3123,6 +3123,25 @@ class Model(BaseModel):
     assert Model(v=value).v == result
 
 
+def test_deque_maxlen():
+    class DequeTypedModel(BaseModel):
+        field: Deque[int] = deque(maxlen=10)
+
+    assert DequeTypedModel(field=deque(maxlen=25)).field.maxlen == 25
+    assert DequeTypedModel().field.maxlen == 10
+
+    class DequeUnTypedModel(BaseModel):
+        field: deque = deque(maxlen=10)
+
+    assert DequeUnTypedModel(field=deque(maxlen=25)).field.maxlen == 25
+    assert DequeTypedModel().field.maxlen == 10
+
+    class DeuqueNoDefaultModel(BaseModel):
+        field: deque
+
+    assert DeuqueNoDefaultModel(field=deque(maxlen=25)).field.maxlen == 25
+
+
 @pytest.mark.parametrize(
     'cls,value,errors',
     (

Maxlen property always set to None, when deque item type is provided.
### Initial Checks

- [X] I have searched GitHub for a duplicate issue and I'm sure this is something new
- [X] I have searched Google & StackOverflow for a solution and couldn't find anything
- [X] I have read and followed [the docs](https://docs.pydantic.dev) and still think this is a bug
- [X] I am confident that the issue is with pydantic (not my code, or another library in the ecosystem like [FastAPI](https://fastapi.tiangolo.com) or [mypy](https://mypy.readthedocs.io/en/stable))


### Description

The `maxlen` property of the `deque` field seems to be set to `None` when the queue item type is provided.

In the example below I first create an untyped deque and upon instancing everything goes well - the `maxlen` is set to `15`.
However when the model definitions is more specific: `deque[int]` or `Deque[int]` then the `maxlen` value cannot be set.

### Example Code

```Python
>>> from pydantic import BaseModel
>>> from collections import deque
>>> class D(BaseModel):
...     q: deque = deque(maxlen=10)
... 
>>> d = D(q=deque(maxlen=15))
>>> d
D(q=deque([], maxlen=15))
>>> 
>>> 
>>> class DI(BaseModel):
...     q: deque[int] = deque(maxlen=10)
... 
>>> d = DI(q=deque(maxlen=15))
>>> d
DI(q=deque([]))
>>> 
>>> from typing import Deque
>>> 
>>> class DT(BaseModel):
...     q: Deque[int] = deque(maxlen=10)
... 
>>> d = DT(q=deque(maxlen=15))
>>> d
DT(q=deque([]))
```


### Python, Pydantic & OS Version

```Text
pydantic version: 1.10.5
pydantic compiled: True
install path: /opt/venv/lib/python3.11/site-packages/pydantic
python version: 3.11.4 (main, Jun 13 2023, 15:08:32) [GCC 10.2.1 20210110]
platform: Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.31
optional deps. installed: ['typing-extensions']
```


### Affected Components

- [ ] [Compatibility between releases](https://docs.pydantic.dev/changelog/)
- [ ] [Data validation/parsing](https://docs.pydantic.dev/usage/models/#basic-model-usage)
- [ ] [Data serialization](https://docs.pydantic.dev/usage/exporting_models/) - `.dict()` and `.json()`
- [ ] [JSON Schema](https://docs.pydantic.dev/usage/schema/)
- [ ] [Dataclasses](https://docs.pydantic.dev/usage/dataclasses/)
- [ ] [Model Config](https://docs.pydantic.dev/usage/model_config/)
- [X] [Field Types](https://docs.pydantic.dev/usage/types/) - adding or changing a particular data type
- [ ] [Function validation decorator](https://docs.pydantic.dev/usage/validation_decorator/)
- [ ] [Generic Models](https://docs.pydantic.dev/usage/models/#generic-models)
- [ ] [Other Model behaviour](https://docs.pydantic.dev/usage/models/) - `construct()`, pickling, private attributes, ORM mode
- [ ] [Plugins](https://docs.pydantic.dev/) and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

Selected Assignee: @davidhewitt

tests/test_types.py::test_deque_maxlen
tests/test_types.py::test_constrained_bytes_good tests/test_types.py::test_constrained_bytes_default tests/test_types.py::test_constrained_bytes_too_long tests/test_types.py::test_constrained_bytes_upper[True-abcd-ABCD] tests/test_types.py::test_constrained_bytes_upper[False-aBcD-aBcD] tests/test_types.py::test_constrained_bytes_lower[True-ABCD-abcd] tests/test_types.py::test_constrained_bytes_lower[False-ABCD-ABCD] tests/test_types.py::test_constrained_bytes_strict_true tests/test_types.py::test_constrained_bytes_strict_false tests/test_types.py::test_constrained_bytes_strict_default tests/test_types.py::test_constrained_list_good tests/test_types.py::test_constrained_list_default tests/test_types.py::test_constrained_list_too_long tests/test_types.py::test_constrained_list_too_short tests/test_types.py::test_constrained_list_not_unique_hashable_items tests/test_types.py::test_constrained_list_not_unique_unhashable_items tests/test_types.py::test_constrained_list_optional tests/test_types.py::test_constrained_list_constraints tests/test_types.py::test_constrained_list_item_type_fails tests/test_types.py::test_conlist tests/test_types.py::test_conlist_wrong_type_default tests/test_types.py::test_constrained_set_good tests/test_types.py::test_constrained_set_default tests/test_types.py::test_constrained_set_default_invalid tests/test_types.py::test_constrained_set_too_long tests/test_types.py::test_constrained_set_too_short tests/test_types.py::test_constrained_set_optional tests/test_types.py::test_constrained_set_constraints tests/test_types.py::test_constrained_set_item_type_fails tests/test_types.py::test_conset tests/test_types.py::test_conset_not_required tests/test_types.py::test_confrozenset tests/test_types.py::test_confrozenset_not_required tests/test_types.py::test_constrained_frozenset_optional tests/test_types.py::test_constrained_str_good tests/test_types.py::test_constrained_str_default tests/test_types.py::test_constrained_str_too_long tests/test_types.py::test_constrained_str_upper[True-abcd-ABCD] tests/test_types.py::test_constrained_str_upper[False-aBcD-aBcD] tests/test_types.py::test_constrained_str_lower[True-ABCD-abcd] tests/test_types.py::test_constrained_str_lower[False-ABCD-ABCD] tests/test_types.py::test_constrained_str_max_length_0 tests/test_types.py::test_module_import tests/test_types.py::test_pyobject_none tests/test_types.py::test_pyobject_callable tests/test_types.py::test_default_validators[bool_check-True-True0] tests/test_types.py::test_default_validators[bool_check-1-True0] tests/test_types.py::test_default_validators[bool_check-y-True] tests/test_types.py::test_default_validators[bool_check-Y-True] tests/test_types.py::test_default_validators[bool_check-yes-True] tests/test_types.py::test_default_validators[bool_check-Yes-True] tests/test_types.py::test_default_validators[bool_check-YES-True] tests/test_types.py::test_default_validators[bool_check-true-True] tests/test_types.py::test_default_validators[bool_check-True-True1] tests/test_types.py::test_default_validators[bool_check-TRUE-True0] tests/test_types.py::test_default_validators[bool_check-on-True] tests/test_types.py::test_default_validators[bool_check-On-True] tests/test_types.py::test_default_validators[bool_check-ON-True] tests/test_types.py::test_default_validators[bool_check-1-True1] tests/test_types.py::test_default_validators[bool_check-t-True] tests/test_types.py::test_default_validators[bool_check-T-True] tests/test_types.py::test_default_validators[bool_check-TRUE-True1] tests/test_types.py::test_default_validators[bool_check-False-False0] tests/test_types.py::test_default_validators[bool_check-0-False0] tests/test_types.py::test_default_validators[bool_check-n-False] tests/test_types.py::test_default_validators[bool_check-N-False] tests/test_types.py::test_default_validators[bool_check-no-False] tests/test_types.py::test_default_validators[bool_check-No-False] tests/test_types.py::test_default_validators[bool_check-NO-False] tests/test_types.py::test_default_validators[bool_check-false-False] tests/test_types.py::test_default_validators[bool_check-False-False1] tests/test_types.py::test_default_validators[bool_check-FALSE-False0] tests/test_types.py::test_default_validators[bool_check-off-False] tests/test_types.py::test_default_validators[bool_check-Off-False] tests/test_types.py::test_default_validators[bool_check-OFF-False] tests/test_types.py::test_default_validators[bool_check-0-False1] tests/test_types.py::test_default_validators[bool_check-f-False] tests/test_types.py::test_default_validators[bool_check-F-False] tests/test_types.py::test_default_validators[bool_check-FALSE-False1] tests/test_types.py::test_default_validators[bool_check-None-ValidationError] tests/test_types.py::test_default_validators[bool_check--ValidationError] tests/test_types.py::test_default_validators[bool_check-value36-ValidationError] tests/test_types.py::test_default_validators[bool_check-value37-ValidationError] tests/test_types.py::test_default_validators[bool_check-value38-ValidationError] tests/test_types.py::test_default_validators[bool_check-value39-ValidationError] tests/test_types.py::test_default_validators[bool_check-2-ValidationError0] tests/test_types.py::test_default_validators[bool_check-2-ValidationError1] tests/test_types.py::test_default_validators[bool_check-2-ValidationError2] tests/test_types.py::test_default_validators[bool_check-\x81-ValidationError] tests/test_types.py::test_default_validators[bool_check-value44-ValidationError] tests/test_types.py::test_default_validators[str_check-s-s0] tests/test_types.py::test_default_validators[str_check- tests/test_types.py::test_default_validators[str_check-s-s1] tests/test_types.py::test_default_validators[str_check-1-1] tests/test_types.py::test_default_validators[str_check-xxxxxxxxxxx-ValidationError0] tests/test_types.py::test_default_validators[str_check-xxxxxxxxxxx-ValidationError1] tests/test_types.py::test_default_validators[bytes_check-s-s0] tests/test_types.py::test_default_validators[bytes_check- tests/test_types.py::test_default_validators[bytes_check-s-s1] tests/test_types.py::test_default_validators[bytes_check-1-1] tests/test_types.py::test_default_validators[bytes_check-value57-xx] tests/test_types.py::test_default_validators[bytes_check-True-True] tests/test_types.py::test_default_validators[bytes_check-False-False] tests/test_types.py::test_default_validators[bytes_check-value60-ValidationError] tests/test_types.py::test_default_validators[bytes_check-xxxxxxxxxxx-ValidationError0] tests/test_types.py::test_default_validators[bytes_check-xxxxxxxxxxx-ValidationError1] tests/test_types.py::test_default_validators[int_check-1-10] tests/test_types.py::test_default_validators[int_check-1.9-1] tests/test_types.py::test_default_validators[int_check-1-11] tests/test_types.py::test_default_validators[int_check-1.9-ValidationError] tests/test_types.py::test_default_validators[int_check-1-12] tests/test_types.py::test_default_validators[int_check-12-120] tests/test_types.py::test_default_validators[int_check-12-121] tests/test_types.py::test_default_validators[int_check-12-122] tests/test_types.py::test_default_validators[float_check-1-1.00] tests/test_types.py::test_default_validators[float_check-1.0-1.00] tests/test_types.py::test_default_validators[float_check-1.0-1.01] tests/test_types.py::test_default_validators[float_check-1-1.01] tests/test_types.py::test_default_validators[float_check-1.0-1.02] tests/test_types.py::test_default_validators[float_check-1-1.02] tests/test_types.py::test_default_validators[uuid_check-ebcdab58-6eb8-46fb-a190-d07a33e9eac8-result77] tests/test_types.py::test_default_validators[uuid_check-value78-result78] tests/test_types.py::test_default_validators[uuid_check-ebcdab58-6eb8-46fb-a190-d07a33e9eac8-result79] tests/test_types.py::test_default_validators[uuid_check-\x124Vx\x124Vx\x124Vx\x124Vx-result80] tests/test_types.py::test_default_validators[uuid_check-ebcdab58-6eb8-46fb-a190--ValidationError] tests/test_types.py::test_default_validators[uuid_check-123-ValidationError] tests/test_types.py::test_default_validators[decimal_check-42.24-result83] tests/test_types.py::test_default_validators[decimal_check-42.24-result84] tests/test_types.py::test_default_validators[decimal_check-42.24-result85] tests/test_types.py::test_default_validators[decimal_check- tests/test_types.py::test_default_validators[decimal_check-value87-result87] tests/test_types.py::test_default_validators[decimal_check-not tests/test_types.py::test_default_validators[decimal_check-NaN-ValidationError] tests/test_types.py::test_string_too_long tests/test_types.py::test_string_too_short tests/test_types.py::test_datetime_successful tests/test_types.py::test_datetime_errors tests/test_types.py::test_enum_successful tests/test_types.py::test_enum_fails tests/test_types.py::test_int_enum_successful_for_str_int tests/test_types.py::test_enum_type tests/test_types.py::test_int_enum_type tests/test_types.py::test_string_success tests/test_types.py::test_string_fails tests/test_types.py::test_dict tests/test_types.py::test_list_success[value0-result0] tests/test_types.py::test_list_success[value1-result1] tests/test_types.py::test_list_success[value2-result2] tests/test_types.py::test_list_success[<genexpr>-result3] tests/test_types.py::test_list_success[value4-result4] tests/test_types.py::test_list_fails[1230] tests/test_types.py::test_list_fails[1231] tests/test_types.py::test_ordered_dict tests/test_types.py::test_tuple_success[value0-result0] tests/test_types.py::test_tuple_success[value1-result1] tests/test_types.py::test_tuple_success[value2-result2] tests/test_types.py::test_tuple_success[<genexpr>-result3] tests/test_types.py::test_tuple_success[value4-result4] tests/test_types.py::test_tuple_fails[1230] tests/test_types.py::test_tuple_fails[1231] tests/test_types.py::test_tuple_variable_len_success[value0-int-result0] tests/test_types.py::test_tuple_variable_len_success[value1-int-result1] tests/test_types.py::test_tuple_variable_len_success[<genexpr>-int-result2] tests/test_types.py::test_tuple_variable_len_success[value3-str-result3] tests/test_types.py::test_tuple_variable_len_fails[value0-str-exc0] tests/test_types.py::test_tuple_variable_len_fails[value1-str-exc1] tests/test_types.py::test_set_success[value0-result0] tests/test_types.py::test_set_success[value1-result1] tests/test_types.py::test_set_success[value2-result2] tests/test_types.py::test_set_success[value3-result3] tests/test_types.py::test_set_fails[1230] tests/test_types.py::test_set_fails[1231] tests/test_types.py::test_list_type_fails tests/test_types.py::test_set_type_fails tests/test_types.py::test_sequence_success[int-value0-result0] tests/test_types.py::test_sequence_success[int-value1-result1] tests/test_types.py::test_sequence_success[int-value2-result2] tests/test_types.py::test_sequence_success[float-value3-result3] tests/test_types.py::test_sequence_success[cls4-value4-result4] tests/test_types.py::test_sequence_success[cls5-value5-result5] tests/test_types.py::test_sequence_generator_success[int-<genexpr>-result0] tests/test_types.py::test_sequence_generator_success[float-<genexpr>-result1] tests/test_types.py::test_sequence_generator_success[str-<genexpr>-result2] tests/test_types.py::test_infinite_iterable tests/test_types.py::test_invalid_iterable tests/test_types.py::test_infinite_iterable_validate_first tests/test_types.py::test_sequence_generator_fails[int-<genexpr>-errors0] tests/test_types.py::test_sequence_generator_fails[float-<genexpr>-errors1] tests/test_types.py::test_sequence_fails[int-value0-errors0] tests/test_types.py::test_sequence_fails[int-value1-errors1] tests/test_types.py::test_sequence_fails[float-value2-errors2] tests/test_types.py::test_sequence_fails[float-value3-errors3] tests/test_types.py::test_sequence_fails[float-value4-errors4] tests/test_types.py::test_sequence_fails[cls5-value5-errors5] tests/test_types.py::test_sequence_fails[cls6-value6-errors6] tests/test_types.py::test_sequence_fails[cls7-value7-errors7] tests/test_types.py::test_int_validation tests/test_types.py::test_float_validation tests/test_types.py::test_finite_float_validation tests/test_types.py::test_finite_float_validation_error[inf] tests/test_types.py::test_finite_float_validation_error[-inf] tests/test_types.py::test_finite_float_validation_error[nan] tests/test_types.py::test_finite_float_config tests/test_types.py::test_strict_bytes tests/test_types.py::test_strict_bytes_max_length tests/test_types.py::test_strict_bytes_subclass tests/test_types.py::test_strict_str tests/test_types.py::test_strict_str_subclass tests/test_types.py::test_strict_str_max_length tests/test_types.py::test_strict_str_regex tests/test_types.py::test_string_regex tests/test_types.py::test_strict_bool tests/test_types.py::test_strict_int tests/test_types.py::test_strict_int_subclass tests/test_types.py::test_strict_float tests/test_types.py::test_strict_float_subclass tests/test_types.py::test_bool_unhashable_fails tests/test_types.py::test_uuid_error tests/test_types.py::test_uuid_validation tests/test_types.py::test_anystr_strip_whitespace[True- tests/test_types.py::test_anystr_strip_whitespace[False- tests/test_types.py::test_anystr_upper[True-ABCDefG-abCD1Fg-ABCDEFG-ABCD1FG] tests/test_types.py::test_anystr_upper[False-ABCDefG-abCD1Fg-ABCDefG-abCD1Fg] tests/test_types.py::test_anystr_lower[True-ABCDefG-abCD1Fg-abcdefg-abcd1fg] tests/test_types.py::test_anystr_lower[False-ABCDefG-abCD1Fg-ABCDefG-abCD1Fg] tests/test_types.py::test_decimal_validation[type_args0-value0-result0] tests/test_types.py::test_decimal_validation[type_args1-value1-result1] tests/test_types.py::test_decimal_validation[type_args2-value2-result2] tests/test_types.py::test_decimal_validation[type_args3-value3-result3] tests/test_types.py::test_decimal_validation[type_args4-value4-result4] tests/test_types.py::test_decimal_validation[type_args5-value5-result5] tests/test_types.py::test_decimal_validation[type_args6-value6-result6] tests/test_types.py::test_decimal_validation[type_args7-value7-result7] tests/test_types.py::test_decimal_validation[type_args8-value8-result8] tests/test_types.py::test_decimal_validation[type_args9-value9-result9] tests/test_types.py::test_decimal_validation[type_args10-value10-result10] tests/test_types.py::test_decimal_validation[type_args11-value11-result11] tests/test_types.py::test_decimal_validation[type_args12-value12-result12] tests/test_types.py::test_decimal_validation[type_args13-value13-result13] tests/test_types.py::test_decimal_validation[type_args14-value14-result14] tests/test_types.py::test_decimal_validation[type_args15-value15-result15] tests/test_types.py::test_decimal_validation[type_args16-value16-result16] tests/test_types.py::test_decimal_validation[type_args17-value17-result17] tests/test_types.py::test_decimal_validation[type_args18-value18-result18] tests/test_types.py::test_decimal_validation[type_args19-value19-result19] tests/test_types.py::test_decimal_validation[type_args20-value20-result20] tests/test_types.py::test_decimal_validation[type_args21-value21-result21] tests/test_types.py::test_decimal_validation[type_args22-value22-result22] tests/test_types.py::test_decimal_validation[type_args23-NaN-result23] tests/test_types.py::test_decimal_validation[type_args24--NaN-result24] tests/test_types.py::test_decimal_validation[type_args25-+NaN-result25] tests/test_types.py::test_decimal_validation[type_args26-sNaN-result26] tests/test_types.py::test_decimal_validation[type_args27--sNaN-result27] tests/test_types.py::test_decimal_validation[type_args28-+sNaN-result28] tests/test_types.py::test_decimal_validation[type_args29-Inf-result29] tests/test_types.py::test_decimal_validation[type_args30--Inf-result30] tests/test_types.py::test_decimal_validation[type_args31-+Inf-result31] tests/test_types.py::test_decimal_validation[type_args32-Infinity-result32] tests/test_types.py::test_decimal_validation[type_args33--Infinity-result33] tests/test_types.py::test_decimal_validation[type_args34--Infinity-result34] tests/test_types.py::test_decimal_validation[type_args35-value35-result35] tests/test_types.py::test_decimal_validation[type_args36-value36-result36] tests/test_types.py::test_decimal_validation[type_args37-value37-result37] tests/test_types.py::test_decimal_validation[type_args38-value38-result38] tests/test_types.py::test_decimal_validation[type_args39-value39-result39] tests/test_types.py::test_decimal_validation[type_args40-value40-result40] tests/test_types.py::test_decimal_validation[type_args41-value41-result41] tests/test_types.py::test_decimal_validation[type_args42-value42-result42] tests/test_types.py::test_decimal_validation[type_args43-value43-result43] tests/test_types.py::test_decimal_validation[type_args44-value44-result44] tests/test_types.py::test_decimal_validation[type_args45-value45-result45] tests/test_types.py::test_decimal_validation[type_args46-value46-result46] tests/test_types.py::test_decimal_validation[type_args47-value47-result47] tests/test_types.py::test_path_validation_success[/test/path-result0] tests/test_types.py::test_path_validation_success[value1-result1] tests/test_types.py::test_path_validation_fails tests/test_types.py::test_file_path_validation_success[tests/test_types.py-result0] tests/test_types.py::test_file_path_validation_success[value1-result1] tests/test_types.py::test_file_path_validation_fails[nonexistentfile-errors0] tests/test_types.py::test_file_path_validation_fails[value1-errors1] tests/test_types.py::test_file_path_validation_fails[tests-errors2] tests/test_types.py::test_file_path_validation_fails[value3-errors3] tests/test_types.py::test_directory_path_validation_success[tests-result0] tests/test_types.py::test_directory_path_validation_success[value1-result1] tests/test_types.py::test_directory_path_validation_fails[nonexistentdirectory-errors0] tests/test_types.py::test_directory_path_validation_fails[value1-errors1] tests/test_types.py::test_directory_path_validation_fails[tests/test_types.py-errors2] tests/test_types.py::test_directory_path_validation_fails[value3-errors3] tests/test_types.py::test_number_gt tests/test_types.py::test_number_ge tests/test_types.py::test_number_lt tests/test_types.py::test_number_le tests/test_types.py::test_number_multiple_of_int_valid[10] tests/test_types.py::test_number_multiple_of_int_valid[100] tests/test_types.py::test_number_multiple_of_int_valid[20] tests/test_types.py::test_number_multiple_of_int_invalid[1337] tests/test_types.py::test_number_multiple_of_int_invalid[23] tests/test_types.py::test_number_multiple_of_int_invalid[6] tests/test_types.py::test_number_multiple_of_int_invalid[14] tests/test_types.py::test_number_multiple_of_float_valid[0.2] tests/test_types.py::test_number_multiple_of_float_valid[0.3] tests/test_types.py::test_number_multiple_of_float_valid[0.4] tests/test_types.py::test_number_multiple_of_float_valid[0.5] tests/test_types.py::test_number_multiple_of_float_valid[1] tests/test_types.py::test_number_multiple_of_float_invalid[0.07] tests/test_types.py::test_number_multiple_of_float_invalid[1.27] tests/test_types.py::test_number_multiple_of_float_invalid[1.003] tests/test_types.py::test_bounds_config_exceptions[conint] tests/test_types.py::test_bounds_config_exceptions[confloat] tests/test_types.py::test_bounds_config_exceptions[condecimal] tests/test_types.py::test_new_type_success tests/test_types.py::test_new_type_fails tests/test_types.py::test_json_any_is_json tests/test_types.py::test_valid_simple_json tests/test_types.py::test_valid_simple_json_any tests/test_types.py::test_invalid_simple_json tests/test_types.py::test_invalid_simple_json_any tests/test_types.py::test_valid_simple_json_bytes tests/test_types.py::test_valid_detailed_json tests/test_types.py::test_invalid_detailed_json_value_error tests/test_types.py::test_valid_detailed_json_bytes tests/test_types.py::test_valid_model_json tests/test_types.py::test_invalid_model_json tests/test_types.py::test_invalid_detailed_json_type_error tests/test_types.py::test_json_not_str tests/test_types.py::test_json_pre_validator tests/test_types.py::test_json_optional_simple tests/test_types.py::test_json_optional_complex tests/test_types.py::test_json_explicitly_required tests/test_types.py::test_json_no_default tests/test_types.py::test_pattern[Pattern] tests/test_types.py::test_pattern[pattern_type1] tests/test_types.py::test_pattern_error[Pattern] tests/test_types.py::test_pattern_error[pattern_type1] tests/test_types.py::test_secretfield tests/test_types.py::test_secretstr tests/test_types.py::test_secretstr_is_secret_field tests/test_types.py::test_secretstr_equality tests/test_types.py::test_secretstr_idempotent tests/test_types.py::test_secretstr_is_hashable tests/test_types.py::test_secretstr_error tests/test_types.py::test_secretstr_min_max_length tests/test_types.py::test_secretbytes tests/test_types.py::test_secretbytes_is_secret_field tests/test_types.py::test_secretbytes_equality tests/test_types.py::test_secretbytes_idempotent tests/test_types.py::test_secretbytes_is_hashable tests/test_types.py::test_secretbytes_error tests/test_types.py::test_secretbytes_min_max_length tests/test_types.py::test_secrets_schema[no-constrains-SecretStr] tests/test_types.py::test_secrets_schema[no-constrains-SecretBytes] tests/test_types.py::test_secrets_schema[min-constraint-SecretStr] tests/test_types.py::test_secrets_schema[min-constraint-SecretBytes] tests/test_types.py::test_secrets_schema[max-constraint-SecretStr] tests/test_types.py::test_secrets_schema[max-constraint-SecretBytes] tests/test_types.py::test_secrets_schema[min-max-constraints-SecretStr] tests/test_types.py::test_secrets_schema[min-max-constraints-SecretBytes] tests/test_types.py::test_generic_without_params tests/test_types.py::test_generic_without_params_error tests/test_types.py::test_literal_single tests/test_types.py::test_literal_multiple tests/test_types.py::test_unsupported_field_type tests/test_types.py::test_frozenset_field tests/test_types.py::test_frozenset_field_conversion[value0-result0] tests/test_types.py::test_frozenset_field_conversion[value1-result1] tests/test_types.py::test_frozenset_field_conversion[value2-result2] tests/test_types.py::test_frozenset_field_conversion[value3-result3] tests/test_types.py::test_frozenset_field_not_convertible tests/test_types.py::test_bytesize_conversions[1-1-1.0B-1.0B] tests/test_types.py::test_bytesize_conversions[1.0-1-1.0B-1.0B] tests/test_types.py::test_bytesize_conversions[1b-1-1.0B-1.0B] tests/test_types.py::test_bytesize_conversions[1.5 tests/test_types.py::test_bytesize_conversions[5.1kib-5222-5.1KiB-5.2KB] tests/test_types.py::test_bytesize_conversions[6.2EiB-7148113328562451456-6.2EiB-7.1EB] tests/test_types.py::test_bytesize_to tests/test_types.py::test_bytesize_raises tests/test_types.py::test_deque_success tests/test_types.py::test_deque_generic_success[int-value0-result0] tests/test_types.py::test_deque_generic_success[int-value1-result1] tests/test_types.py::test_deque_generic_success[int-value2-result2] tests/test_types.py::test_deque_generic_success[float-value3-result3] tests/test_types.py::test_deque_generic_success[cls4-value4-result4] tests/test_types.py::test_deque_generic_success[cls5-value5-result5] tests/test_types.py::test_deque_generic_success[str-value6-result6] tests/test_types.py::test_deque_generic_success[int-value7-result7] tests/test_types.py::test_deque_fails[int-value0-errors0] tests/test_types.py::test_deque_fails[int-value1-errors1] tests/test_types.py::test_deque_fails[float-value2-errors2] tests/test_types.py::test_deque_fails[float-value3-errors3] tests/test_types.py::test_deque_fails[float-value4-errors4] tests/test_types.py::test_deque_fails[cls5-value5-errors5] tests/test_types.py::test_deque_fails[cls6-value6-errors6] tests/test_types.py::test_deque_fails[cls7-value7-errors7] tests/test_types.py::test_deque_model tests/test_types.py::test_deque_json tests/test_types.py::test_none[None] tests/test_types.py::test_none[NoneType0] tests/test_types.py::test_none[NoneType1] tests/test_types.py::test_none[value_type3] tests/test_types.py::test_default_union_types tests/test_types.py::test_smart_union_types tests/test_types.py::test_default_union_class tests/test_types.py::test_smart_union_class tests/test_types.py::test_default_union_subclass tests/test_types.py::test_smart_union_subclass tests/test_types.py::test_default_union_compound_types tests/test_types.py::test_smart_union_compound_types tests/test_types.py::test_smart_union_compouned_types_edge_case tests/test_types.py::test_smart_union_typeddict tests/test_types.py::test_past_date_validation_success[1996-01-22-result0] tests/test_types.py::test_past_date_validation_success[value1-result1] tests/test_types.py::test_past_date_validation_fails[value0] tests/test_types.py::test_past_date_validation_fails[value1] tests/test_types.py::test_past_date_validation_fails[value2] tests/test_types.py::test_past_date_validation_fails[value3] tests/test_types.py::test_past_date_validation_fails[2064-06-01] tests/test_types.py::test_future_date_validation_success[value0-result0] tests/test_types.py::test_future_date_validation_success[value1-result1] tests/test_types.py::test_future_date_validation_success[2064-06-01-result2] tests/test_types.py::test_future_date_validation_fails[value0] tests/test_types.py::test_future_date_validation_fails[value1] tests/test_types.py::test_future_date_validation_fails[value2] tests/test_types.py::test_future_date_validation_fails[value3] tests/test_types.py::test_future_date_validation_fails[1996-01-22] tests/test_types.py::test_typing_extension_literal_field