(self)
| 5419 | @unittest.skipIf(hasattr(sys, 'gettrace') and sys.gettrace(), |
| 5420 | 'trace function introduces __local__') |
| 5421 | def test_iter_keys(self): |
| 5422 | # Testing dict-proxy keys... |
| 5423 | it = self.C.__dict__.keys() |
| 5424 | self.assertNotIsInstance(it, list) |
| 5425 | keys = list(it) |
| 5426 | keys.sort() |
| 5427 | self.assertEqual(keys, ['__dict__', '__doc__', '__firstlineno__', |
| 5428 | '__module__', |
| 5429 | '__static_attributes__', '__weakref__', |
| 5430 | 'meth']) |
| 5431 | |
| 5432 | @unittest.skipIf(hasattr(sys, 'gettrace') and sys.gettrace(), |
| 5433 | 'trace function introduces __local__') |
nothing calls this directly
no test coverage detected