mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-18 23:01:50 -09:00
package/python-tzlocal: new package
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
cf4f2f858d
commit
6ca1ee306a
5
support/testing/tests/package/sample_python_tzlocal.py
Normal file
5
support/testing/tests/package/sample_python_tzlocal.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from tzlocal import get_localzone
|
||||
from zoneinfo import ZoneInfo
|
||||
|
||||
tz = get_localzone()
|
||||
assert tz == ZoneInfo(key='posix/Europe/Berlin')
|
||||
Reference in New Issue
Block a user