Marcel Telka
2024-03-28 22f007a7e50fb2b0264244eb98ffb733ed55afd9
commit | author | age
f67cd3 1 https://www.illumos.org/issues/15543
MT 2
22f007 3 --- ansible-core-2.15.10/test/units/utils/test_display.py.orig
MT 4 +++ ansible-core-2.15.10/test/units/utils/test_display.py
f67cd3 5 @@ -41,7 +41,6 @@
MT 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
5715da 13 @@ -60,6 +59,7 @@
f67cd3 14      pytest.raises(EnvironmentError, get_text_width, problematic_wcswidth_chars[0])
MT 15  
16  
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()