(self)
| 160 | self.assertIsNot(y, x) |
| 161 | |
| 162 | def test_copy_inst_vanilla(self): |
| 163 | class C: |
| 164 | def __init__(self, foo): |
| 165 | self.foo = foo |
| 166 | def __eq__(self, other): |
| 167 | return self.foo == other.foo |
| 168 | x = C(42) |
| 169 | self.assertEqual(copy.copy(x), x) |
| 170 | |
| 171 | def test_copy_inst_copy(self): |
| 172 | class C: |
nothing calls this directly
no test coverage detected