Ignore test failures from broken Babel 2.17 on Windows (#13290)

This commit is contained in:
Adam Turner authored and GitHub committed 2025-02-02 20:01:21 +00:00
1 parent d0107ab02c
commit 34519be296
1 file changed
+7
+7
View File
@@ -4,9 +4,11 @@ from __future__ import annotations
import datetime
import os
import sys
import time
from pathlib import Path
import babel
import pytest
from babel.messages.mofile import read_mo
@@ -54,6 +56,11 @@ def test_catalog_write_mo(tmp_path):
assert read_mo(f) is not None
# https://github.com/python-babel/babel/issues/1183
@pytest.mark.xfail(
sys.platform == 'win32' and babel.__version__ == '2.17.0',
reason='Windows tests fail with Babel 2.17',
)
def test_format_date():
date = datetime.date(2016, 2, 7)