MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_iter_values

Method test_iter_values

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

Source from the content-addressed store, hash-verified

5194 @unittest.skipIf(hasattr(sys, 'gettrace') and sys.gettrace(),
5195 'trace function introduces __local__')
5196 def test_iter_values(self):
5197 # Testing dict-proxy values...
5198 it = self.C.__dict__.values()
5199 self.assertNotIsInstance(it, list)
5200 values = list(it)
5201 self.assertEqual(len(values), 7)
5202
5203 @unittest.skipIf(hasattr(sys, 'gettrace') and sys.gettrace(),
5204 'trace function introduces __local__')

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected