(self)
| 106 | self.assertIs(copy.copy(x), x) |
| 107 | |
| 108 | def test_copy_list(self): |
| 109 | x = [1, 2, 3] |
| 110 | y = copy.copy(x) |
| 111 | self.assertEqual(y, x) |
| 112 | self.assertIsNot(y, x) |
| 113 | x = [] |
| 114 | y = copy.copy(x) |
| 115 | self.assertEqual(y, x) |
| 116 | self.assertIsNot(y, x) |
| 117 | |
| 118 | def test_copy_tuple(self): |
| 119 | x = (1, 2, 3) |
nothing calls this directly
no test coverage detected