(self)
| 1917 | err.close() |
| 1918 | |
| 1919 | def test_gh_98778(self): |
| 1920 | x = urllib.error.HTTPError("url", 405, "METHOD NOT ALLOWED", None, None) |
| 1921 | self.assertEqual(getattr(x, "__notes__", ()), ()) |
| 1922 | self.assertIsInstance(x.fp.read(), bytes) |
| 1923 | x.close() |
| 1924 | |
| 1925 | def test_parse_proxy(self): |
| 1926 | parse_proxy_test_cases = [ |
nothing calls this directly
no test coverage detected