jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / python / ansible-core / patches / 05-wcwidth.patch
blobf50d0fa779182b11df4a7ca6440f6757eac624cb
1 https://www.illumos.org/issues/15543
3 --- ansible_core-2.15.12/test/units/utils/test_display.py.orig
4 +++ ansible_core-2.15.12/test/units/utils/test_display.py
5 @@ -41,7 +41,6 @@
6 assert get_text_width(u'\u001B') == 0
7 assert get_text_width(u'ab\u0000') == 2
8 assert get_text_width(u'abコ\u0000') == 4
9 - assert get_text_width(u'🚀🐮') == 4
10 assert get_text_width(u'\x08') == 0
11 assert get_text_width(u'\x08\x08') == 0
12 assert get_text_width(u'ab\x08cd') == 3
13 @@ -60,6 +59,7 @@
14 pytest.raises(EnvironmentError, get_text_width, problematic_wcswidth_chars[0])
17 +@pytest.mark.skip(reason="always fails: https://www.illumos.org/issues/15543")
18 def test_Display_banner_get_text_width(monkeypatch):
19 locale.setlocale(locale.LC_ALL, '')
20 display = Display()