(self)
| 166 | self.assertIsNot(y, x) |
| 167 | |
| 168 | def test_copy_inst_vanilla(self): |
| 169 | class C: |
| 170 | def __init__(self, foo): |
| 171 | self.foo = foo |
| 172 | def __eq__(self, other): |
| 173 | return self.foo == other.foo |
| 174 | x = C(42) |
| 175 | self.assertEqual(copy.copy(x), x) |
| 176 | |
| 177 | def test_copy_inst_copy(self): |
| 178 | class C: |
nothing calls this directly
no test coverage detected