Skip to content

Commit 34519be

Browse files
authored
Ignore test failures from broken Babel 2.17 on Windows (#13290)
1 parent d0107ab commit 34519be

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/test_util/test_util_i18n.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44

55
import datetime
66
import os
7+
import sys
78
import time
89
from pathlib import Path
910

11+
import babel
1012
import pytest
1113
from babel.messages.mofile import read_mo
1214

@@ -54,6 +56,11 @@ def test_catalog_write_mo(tmp_path):
5456
assert read_mo(f) is not None
5557

5658

59+
# https://github.com/python-babel/babel/issues/1183
60+
@pytest.mark.xfail(
61+
sys.platform == 'win32' and babel.__version__ == '2.17.0',
62+
reason='Windows tests fail with Babel 2.17',
63+
)
5764
def test_format_date():
5865
date = datetime.date(2016, 2, 7)
5966

0 commit comments

Comments
 (0)