MCPcopy Create free account
hub / github.com/EasyIME/PIME / test_copy

Method test_copy

python/python3/tornado/test/httpclient_test.py:897–901  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

895
896class HTTPErrorTestCase(unittest.TestCase):
897 def test_copy(self):
898 e = HTTPError(403)
899 e2 = copy.copy(e)
900 self.assertIsNot(e, e2)
901 self.assertEqual(e.code, e2.code)
902
903 def test_plain_error(self):
904 e = HTTPError(403)

Callers

nothing calls this directly

Calls 2

HTTPErrorClass · 0.85
copyMethod · 0.80

Tested by

no test coverage detected