mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Remove tests
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
6439ef4814
commit
4c4298277e
1 changed files with 1 additions and 3 deletions
|
@ -25,7 +25,6 @@
|
|||
def units(comp_sum, uncomp_sum):
|
||||
"""Calculate package size
|
||||
"""
|
||||
print(comp_sum, uncomp_sum)
|
||||
compressed = round((sum(map(float, comp_sum)) / 1024), 2)
|
||||
uncompressed = round((sum(map(float, uncomp_sum)) / 1024), 2)
|
||||
comp_unit = uncomp_unit = "Mb"
|
||||
|
@ -41,5 +40,4 @@ def units(comp_sum, uncomp_sum):
|
|||
if uncompressed < 1:
|
||||
uncompressed = sum(map(int, uncomp_sum))
|
||||
uncomp_unit = "Kb"
|
||||
print(comp_unit, uncomp_unit, compressed, uncompressed)
|
||||
return [comp_unit, uncomp_unit], [compressed, uncompressed]
|
||||
return [comp_unit, uncomp_unit], [compressed, uncompressed]
|
||||
|
|
Loading…
Add table
Reference in a new issue