mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-11-02 20:30:30 -06:00
Ignore test failures from broken Babel 2.17 on Windows (#13290)
This commit is contained in:
1 parent
d0107ab02c
commit
34519be296
1 file changed
+7
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user