]> granicus.if.org Git - python/commitdiff
Correct a comment in the test referencing the wrong issue number (issue3100
authorGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>
Wed, 7 Sep 2016 00:22:22 +0000 (00:22 +0000)
committerGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>
Wed, 7 Sep 2016 00:22:22 +0000 (00:22 +0000)
is correct, not 3110).

Lib/test/test_weakref.py

index 6d50a66d7ba2752a9d10644c10a53c712fd195b4..b1476d0a1a61e67e923857a0cf5651b3332a38fe 100644 (file)
@@ -911,7 +911,7 @@ class SubclassableWeakrefTestCase(TestBase):
         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,