Repository navigation
Commit fb37fcc
committed
[python] remove stale uniqueItems tests
Pydantic 2 removed conlist(unique_items=True). The migration in
04fa53b kept OpenAPI arrays as lists because sets would lose ordering
and complicate JSON serialization, but left these tests behind.
The tests do not require an exception, so they normally pass after making
a Petstore request. They fail when that request produces an unrelated
response validation error. Remove them from the two Pydantic 2 samples;
the Pydantic 1 sample still exercises the supported validation.1 parent 4a5f3a7 commit fb37fcc
2 files changed
Lines changed: 0 additions & 12 deletions
File tree
- samples/openapi3/client/petstore
- python-lazyImports/tests
- python/tests
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 43 | | |
50 | 44 | | |
51 | 45 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 43 | | |
50 | 44 | | |
51 | 45 | | |
| |||
0 commit comments