mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/python-humanfriendly: new package
Signed-off-by: Yann E. MORIN <yann.morin@orange.com> Cc: Romain Naour <romain.naour@smile.fr> Cc: James Hilliard <james.hilliard1@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Yegor Yefremov <yegorslists@googlemail.com> [Julien: - add DEVELOPERS entry - fix test class name ] Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
49c1e1181f
commit
e190962f3e
@@ -0,0 +1,6 @@
|
||||
import humanfriendly as hf
|
||||
|
||||
|
||||
h_size = "16MiB"
|
||||
b_size = hf.parse_size(h_size)
|
||||
assert b_size == 16*1024*1024
|
||||
Reference in New Issue
Block a user