Skip to content

Commit

Permalink
Update tests to support Babel 2.15.0 (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
leamingrad authored Jul 25, 2024
1 parent bc5b0e5 commit 88f9da2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fluent.runtime/tests/test_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def test_timeZone(self):
fd1b = fluent_date(dt1, dateStyle="full", timeStyle="full")
self.assertRegex(
fd1b.format(en_GB),
"^Monday, 2 July 2018(,| at) 00:30:00 British Summer Time$",
"^Monday,? 2 July 2018(,| at) 00:30:00 British Summer Time$",
)
fd1c = fluent_date(dt1, dateStyle="short")
self.assertEqual(fd1c.format(en_GB), "02/07/2018")
Expand All @@ -253,7 +253,7 @@ def test_timeZone(self):
)
self.assertRegex(
fd2b.format(en_GB),
"^Monday, 2 July 2018(,| at) 00:30:00 British Summer Time$",
"^Monday,? 2 July 2018(,| at) 00:30:00 British Summer Time$",
)
fd2c = fluent_date(dt2, dateStyle="short", timeZone="Europe/London")
self.assertEqual(fd2c.format(en_GB), "02/07/2018")
Expand Down

0 comments on commit 88f9da2

Please sign in to comment.