Mercurial > hg
comparison tests/test-revert.t @ 24965:cecbe207cebd
run-tests: implement Test._testMethodName
This methods is needed internally by utilities like __repr__. I do not see any
harm in having it declared. Any actual attempt to use it to call a test would
crash, but at least random debug print in the test runner will no longer crash.
Another approach would have been to redefine the __repr__ function, but I think
it a good thing to have some respect for the base class API.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 07 May 2015 23:18:48 -0700 |
parents | 45bd336e3991 |
children | 1ef96a3b8b89 |
comparison
equal
deleted
inserted
replaced
24964:fc92ccbbeb9a | 24965:cecbe207cebd |
---|