aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib/test_human.py
Commit message (Collapse)AuthorAgeFilesLines
* Utils cleanupsAldo Cortesi2016-06-071-0/+9
| | | | | | | | - Move more stuff that belongs in netlib.human - Move some stuff to near the only use - Zap mitmproxy.utils.timestamp(). I see the rationale, but we used it interchangeably with time.time() throughout the project. Since time.time() dominates in the codebase and timestamp() is such low utility, away it goes.
* Satisfy flake8Aldo Cortesi2016-05-311-0/+1
|
* Unify and make symmetric pretty_size and parse_sizeAldo Cortesi2016-05-311-4/+8
|
* Move human-friendly format functions to netlib.human, remove redundant ↵Aldo Cortesi2016-05-311-0/+31
implementations