@@ -445,8 +445,6 @@ def test__call_connection_lost(self):
445445 self .assertEqual (2 , sys .getrefcount (self .protocol ),
446446 pprint .pformat (gc .get_referrers (self .protocol )))
447447 self .assertIsNone (tr ._loop )
448- self .assertEqual (5 , sys .getrefcount (self .loop ),
449- pprint .pformat (gc .get_referrers (self .loop )))
450448
451449 def test__call_connection_lost_with_err (self ):
452450 tr = unix_events ._UnixReadPipeTransport (
@@ -462,8 +460,6 @@ def test__call_connection_lost_with_err(self):
462460 self .assertEqual (2 , sys .getrefcount (self .protocol ),
463461 pprint .pformat (gc .get_referrers (self .protocol )))
464462 self .assertIsNone (tr ._loop )
465- self .assertEqual (5 , sys .getrefcount (self .loop ),
466- pprint .pformat (gc .get_referrers (self .loop )))
467463
468464
469465class UnixWritePipeTransportTests (test_utils .TestCase ):
@@ -731,8 +727,6 @@ def test__call_connection_lost(self):
731727 self .assertEqual (2 , sys .getrefcount (self .protocol ),
732728 pprint .pformat (gc .get_referrers (self .protocol )))
733729 self .assertIsNone (tr ._loop )
734- self .assertEqual (5 , sys .getrefcount (self .loop ),
735- pprint .pformat (gc .get_referrers (self .loop )))
736730
737731 def test__call_connection_lost_with_err (self ):
738732 tr = unix_events ._UnixWritePipeTransport (
@@ -747,8 +741,6 @@ def test__call_connection_lost_with_err(self):
747741 self .assertEqual (2 , sys .getrefcount (self .protocol ),
748742 pprint .pformat (gc .get_referrers (self .protocol )))
749743 self .assertIsNone (tr ._loop )
750- self .assertEqual (5 , sys .getrefcount (self .loop ),
751- pprint .pformat (gc .get_referrers (self .loop )))
752744
753745 def test_close (self ):
754746 tr = unix_events ._UnixWritePipeTransport (
0 commit comments