(self)
| 3305 | |
| 3306 | class HTTPErrorTest(unittest.TestCase): |
| 3307 | def test_copy(self): |
| 3308 | e = HTTPError(403, reason="Go away") |
| 3309 | e2 = copy.copy(e) |
| 3310 | self.assertIsNot(e, e2) |
| 3311 | self.assertEqual(e.status_code, e2.status_code) |
| 3312 | self.assertEqual(e.reason, e2.reason) |
| 3313 | |
| 3314 | |
| 3315 | class ApplicationTest(AsyncTestCase): |