MCPcopy Index your code
hub / github.com/python/cpython / test_iter_values

Method test_iter_values

Lib/test/test_descr.py:5434–5439  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5432 @unittest.skipIf(hasattr(sys, 'gettrace') and sys.gettrace(),
5433 'trace function introduces __local__')
5434 def test_iter_values(self):
5435 # Testing dict-proxy values...
5436 it = self.C.__dict__.values()
5437 self.assertNotIsInstance(it, list)
5438 values = list(it)
5439 self.assertEqual(len(values), 7)
5440
5441 @unittest.skipIf(hasattr(sys, 'gettrace') and sys.gettrace(),
5442 'trace function introduces __local__')

Callers

nothing calls this directly

Calls 4

listClass · 0.85
assertNotIsInstanceMethod · 0.80
valuesMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected