(self)
| 102 | self.assertEqual(TestingImporter.mutated_name, module.__name__) |
| 103 | |
| 104 | def test_new_attr(self): |
| 105 | # A new attribute should persist. |
| 106 | module = self.new_module() |
| 107 | module.new_attr = 42 |
| 108 | self.assertEqual(42, module.new_attr) |
| 109 | |
| 110 | def test_mutated_preexisting_attr(self): |
| 111 | # Changing an attribute that already existed on the module -- |
nothing calls this directly
no test coverage detected