changeset 44024:a1ee825fc6c5

tests: fix a copy/paste name duplication in storage.py 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. Differential Revision: https://phab.mercurial-scm.org/D7769
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 28 Dec 2019 02:11:51 -0500
parents 3216cabffd4a
children df470e764770
files mercurial/testing/storage.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/testing/storage.py	Sat Dec 28 02:02:34 2019 -0500
+++ b/mercurial/testing/storage.py	Sat Dec 28 02:11:51 2019 -0500
@@ -964,7 +964,7 @@
         with self.assertRaises(error.StorageError):
             f.rawdata(node1)
 
-    def testbadnoderevisionraw(self):
+    def testbadnoderevision(self):
         # Like above except we test read() first to isolate revision caching
         # behavior.
         f = self._makefilefn()