mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
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>
7 lines
107 B
Python
7 lines
107 B
Python
import humanfriendly as hf
|
|
|
|
|
|
h_size = "16MiB"
|
|
b_size = hf.parse_size(h_size)
|
|
assert b_size == 16*1024*1024
|