Commit d4ffc4c
committed
tests: mark trailing slash test as xfail
Pydantic's AnyUrl incorrectly adds trailing slashes to base URLs without
paths. This behavior is being fixed in pydantic-core PR #1719 and will
be available in Pydantic 2.12+.
Instead of working around the issue, mark the test as expected to fail.
This documents the known bug and will automatically alert when Pydantic
fixes it (the test will XPASS with xfail_strict=true in pyproject.toml).
Ref: pydantic/pydantic-core#17191 parent 91722aa commit d4ffc4c
1 file changed
+14
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
836 | 836 | | |
837 | 837 | | |
838 | 838 | | |
839 | | - | |
840 | | - | |
841 | | - | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | | - | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
849 | 853 | | |
850 | 854 | | |
851 | 855 | | |
| |||
0 commit comments