(self)
| 5181 | @unittest.skipIf(hasattr(sys, 'gettrace') and sys.gettrace(), |
| 5182 | 'trace function introduces __local__') |
| 5183 | def test_iter_keys(self): |
| 5184 | # Testing dict-proxy keys... |
| 5185 | it = self.C.__dict__.keys() |
| 5186 | self.assertNotIsInstance(it, list) |
| 5187 | keys = list(it) |
| 5188 | keys.sort() |
| 5189 | self.assertEqual(keys, ['__dict__', '__doc__', '__firstlineno__', |
| 5190 | '__module__', |
| 5191 | '__static_attributes__', '__weakref__', |
| 5192 | 'meth']) |
| 5193 | |
| 5194 | @unittest.skipIf(hasattr(sys, 'gettrace') and sys.gettrace(), |
| 5195 | 'trace function introduces __local__') |
nothing calls this directly
no test coverage detected