tests: fix a copy/paste name duplication in storage.py
authorMatt Harbison <matt_harbison@yahoo.com>
Sat, 28 Dec 2019 02:11:51 -0500
changeset 44024 a1ee825fc6c5
parent 44023 3216cabffd4a
child 44025 df470e764770
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
mercurial/testing/storage.py
--- 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()