babel/tests/smoke.py
Lukas Zachar 2b4517848c Add simple smoke test
Related: bz#1950291
2021-07-22 11:17:54 +00:00

5 lines
128 B
Python

from datetime import date
from babel.dates import format_date
assert format_date(date(2021,3,1), locale='en') == 'Mar 1, 2021'