parent
a66f9cf8d7
commit
2b4517848c
|
@ -0,0 +1 @@
|
|||
1
|
|
@ -0,0 +1,7 @@
|
|||
description: |
|
||||
Runs very simple babel example which should always work
|
||||
test: python3 smoke.py
|
||||
framework: shell
|
||||
require:
|
||||
- python3
|
||||
- python3-babel
|
|
@ -0,0 +1,4 @@
|
|||
from datetime import date
|
||||
from babel.dates import format_date
|
||||
|
||||
assert format_date(date(2021,3,1), locale='en') == 'Mar 1, 2021'
|
Loading…
Reference in New Issue