Fix pretty_size unit tests.

This commit is contained in:
Aldo Cortesi 2013-08-23 10:28:16 +12:00
parent a2643b52f9
commit aaba940dea
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ def test_pretty_size():
assert utils.pretty_size(100) == "100B"
assert utils.pretty_size(1024) == "1kB"
assert utils.pretty_size(1024 + (1024/2.0)) == "1.5kB"
assert utils.pretty_size(1024*1024) == "1M"
assert utils.pretty_size(1024*1024) == "1MB"
def test_pkg_data():