Browse Source

Merge remote-tracking branch 'upstream/master' into add-dates-to-release-notes

pull/15001/head
Yurii Motov 5 months ago
parent
commit
ab4146a9fc
  1. 4
      docs/en/docs/release-notes.md
  2. 10
      scripts/tests/test_translation_fixer/conftest.py

4
docs/en/docs/release-notes.md

@ -7,6 +7,10 @@ hide:
## Latest Changes
### Internal
* ✅ Fix all tests are skipped on Windows. PR [#14994](https://github.com/fastapi/fastapi/pull/14994) by [@YuriiMotov](https://github.com/YuriiMotov).
## 0.133.0 (2026-02-24)
### Upgrades

10
scripts/tests/test_translation_fixer/conftest.py

@ -10,8 +10,16 @@ skip_on_windows = pytest.mark.skipif(
)
def pytest_collection_modifyitems(items: list[pytest.Item]) -> None:
THIS_DIR = Path(__file__).parent.resolve()
def pytest_collection_modifyitems(config, items: list[pytest.Item]) -> None:
if sys.platform != "win32":
return
for item in items:
item_path = Path(item.fspath).resolve()
if item_path.is_relative_to(THIS_DIR):
item.add_marker(skip_on_windows)

Loading…
Cancel
Save