(self, name)
| 82 | def test_copy_cant(self): |
| 83 | class C(object): |
| 84 | def __getattribute__(self, name): |
| 85 | if name.startswith("__reduce"): |
| 86 | raise AttributeError(name) |
| 87 | return object.__getattribute__(self, name) |
| 88 | x = C() |
| 89 | self.assertRaises(copy.Error, copy.copy, x) |
| 90 |
nothing calls this directly
no test coverage detected