Page MenuHomePhabricator

tests: use silenttestrunner in test-simplemerge.py
ClosedPublic

Authored by indygreg on Sep 29 2019, 3:35 PM.

Details

Summary

The time monkeypatching doesn't appear to work reliably in
Python 3, possibly due to unittest using a different time
function. This makes the test intermittent due to the
execution time not always being 0.00s.

We have our own wrapper around unittest for more deterministic
test output. So let's use it.

As a bonus, all test output disappeared, so we can remove the
.out file!

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Sep 29 2019, 3:35 PM
pulkit accepted this revision.Sep 30 2019, 8:17 AM
This revision is now accepted and ready to land.Sep 30 2019, 8:17 AM
This revision was automatically updated to reflect the committed changes.