(self)
| 1859 | @support.cpython_only |
| 1860 | @requires_keylog_setter |
| 1861 | def test_refcycle_keylog_filename(self): |
| 1862 | # See https://github.com/python/cpython/issues/142516. |
| 1863 | self.addCleanup(os_helper.unlink, os_helper.TESTFN) |
| 1864 | ctx = make_test_context() |
| 1865 | class KeylogFilename(str): ... |
| 1866 | ctx.keylog_filename = KeylogFilename(os_helper.TESTFN) |
| 1867 | ctx.keylog_filename._ = ctx |
| 1868 | |
| 1869 | @support.cpython_only |
| 1870 | @unittest.skipUnless(ssl.HAS_PSK, 'requires TLS-PSK') |
nothing calls this directly
no test coverage detected