(self)
| 67 | self.assertNotEqual(self.b, duplicate) |
| 68 | |
| 69 | def test_copying___code__(self): |
| 70 | def test(): pass |
| 71 | self.assertEqual(test(), None) |
| 72 | test.__code__ = self.b.__code__ |
| 73 | self.assertEqual(test(), 3) # self.b always returns 3, arbitrarily |
| 74 | |
| 75 | def test_invalid___code___assignment(self): |
| 76 | def A(): pass |
nothing calls this directly
no test coverage detected