This is an archive of the discontinued Mercurial Phabricator instance.

tests: rewrite test-lrucachedict.py to use unittest
ClosedPublic

Authored by indygreg on Sep 6 2018, 9:17 PM.

Details

Summary

This makes the code so much easier to test and debug.

Along the way, I discovered a bug in copy(), which I kind of
added test coverage for.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Sep 6 2018, 9:17 PM
This revision was automatically updated to reflect the committed changes.
tests/test-lrucachedict.py