D7769: tests: fix a copy/paste name duplication in storage.py
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Sat Dec 28 11:42:52 EST 2019
mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
Flagged by PyCharm as a redeclared name without usage, because the name matches
the function immediately preceding it. But since this differs by doing regular
reads instead of raw reads, I assume we still want it. But I don't see either
function being called anywhere.
diff --git a/mercurial/testing/storage.py b/mercurial/testing/storage.py
@@ -964,7 +964,7 @@
- def testbadnoderevisionraw(self):
+ def testbadnoderevision(self):
# Like above except we test read() first to isolate revision caching
f = self._makefilefn()
To: mharbison72, #hg-reviewers
More information about the Mercurial-devel