[Python-checkins] cpython: Correct a comment in the test referencing the wrong issue number (issue3100

gregory.p.smith python-checkins at python.org
Tue Sep 6 20:22:31 EDT 2016


https://hg.python.org/cpython/rev/3d8109fe6d82
changeset:   103185:3d8109fe6d82
user:        Gregory P. Smith <greg at krypto.org> [Google Inc.]
date:        Wed Sep 07 00:22:22 2016 +0000
summary:
  Correct a comment in the test referencing the wrong issue number (issue3100
is correct, not 3110).

files:
  Lib/test/test_weakref.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_weakref.py b/Lib/test/test_weakref.py
--- a/Lib/test/test_weakref.py
+++ b/Lib/test/test_weakref.py
@@ -911,7 +911,7 @@
         self.assertFalse(hasattr(r, "__dict__"))
 
     def test_subclass_refs_with_cycle(self):
-        # Bug #3110
+        """Confirm https://bugs.python.org/issue3100 is fixed."""
         # An instance of a weakref subclass can have attributes.
         # If such a weakref holds the only strong reference to the object,
         # deleting the weakref will delete the object. In this case,

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list