From: Aarni Koskela Date: Wed, 20 Apr 2022 09:19:47 +0000 (+0300) Subject: Add test for issue 798 X-Git-Tag: v2.10.0~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a3d05affe7af2dec2c0f91df83d2b876c73db8f;p=thirdparty%2Fbabel.git Add test for issue 798 --- diff --git a/tests/test_dates.py b/tests/test_dates.py index 143ea3fe..93674669 100644 --- a/tests/test_dates.py +++ b/tests/test_dates.py @@ -873,3 +873,7 @@ def test_en_gb_first_weekday(): assert Locale.parse('en').first_week_day == 0 # Monday in general assert Locale.parse('en_US').first_week_day == 6 # Sunday in the US assert Locale.parse('en_GB').first_week_day == 0 # Monday in the UK + + +def test_issue_798(): + assert dates.format_timedelta(timedelta(), format='narrow', locale='es_US') == '0s'