(self)
| 691 | |
| 692 | @unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: "<ssl.SSLSocket fd=3, family=2, type=1, proto=0, laddr=('0.0.0.0', 0)>" not found in "unclosed <socket.socket fd=3, family=2, type=1, proto=0, laddr=('0.0.0.0', 0)>" |
| 693 | def test_dealloc_warn(self): |
| 694 | ss = test_wrap_socket(socket.socket(socket.AF_INET)) |
| 695 | r = repr(ss) |
| 696 | with self.assertWarns(ResourceWarning) as cm: |
| 697 | ss = None |
| 698 | support.gc_collect() |
| 699 | self.assertIn(r, str(cm.warning.args[0])) |
| 700 | |
| 701 | def test_get_default_verify_paths(self): |
| 702 | paths = ssl.get_default_verify_paths() |
nothing calls this directly
no test coverage detected