--- a/tests/test-profile.t Tue Apr 18 11:10:08 2017 -0700
+++ b/tests/test-profile.t Thu Apr 20 22:45:45 2017 +0900
@@ -90,7 +90,7 @@
$ hg --profile --config profiling.statformat=json sleep 2>../out
$ cat ../out
- \[\[\d+.* (re)
+ \[\[-?\d+.* (re)
statprof can be used as a standalone module