diff options
author | Aarni Koskela <akx@iki.fi> | 2023-01-20 16:55:38 +0200 |
---|---|---|
committer | Aarni Koskela <akx@iki.fi> | 2023-01-20 17:09:15 +0200 |
commit | d76db13414a6104019edc0dbafa82410e8d08e63 (patch) | |
tree | 3561491f7d69fdfdca78dbe1ed0283c21e1f1703 /tests/test_support.py | |
parent | 87ba449463cf590947ecd664a5c9ad8a3881e488 (diff) | |
download | babel-d76db13414a6104019edc0dbafa82410e8d08e63.tar.gz |
Adjust tests for CLDR 42
The space changes around English seem to be on purpose, see:
* https://unicode-org.atlassian.net/browse/CLDR-14032
* https://github.com/unicode-org/cldr/commit/a83026ab8c8fa6ed88f1047c4d0c6089f88b7e5d
Diffstat (limited to 'tests/test_support.py')
-rw-r--r-- | tests/test_support.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_support.py b/tests/test_support.py index 0b7cba0..a471137 100644 --- a/tests/test_support.py +++ b/tests/test_support.py @@ -304,12 +304,12 @@ def test_format_date(): def test_format_datetime(timezone_getter): fmt = support.Format('en_US', tzinfo=timezone_getter('US/Eastern')) when = datetime(2007, 4, 1, 15, 30) - assert fmt.datetime(when) == 'Apr 1, 2007, 11:30:00 AM' + assert fmt.datetime(when) == 'Apr 1, 2007, 11:30:00\u202fAM' def test_format_time(timezone_getter): fmt = support.Format('en_US', tzinfo=timezone_getter('US/Eastern')) - assert fmt.time(datetime(2007, 4, 1, 15, 30)) == '11:30:00 AM' + assert fmt.time(datetime(2007, 4, 1, 15, 30)) == '11:30:00\u202fAM' def test_format_timedelta(): |