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

Method test_dir_on_item

Lib/test/test_enum.py:567–569  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

565 self.assertEqual(set(dir(TE)), set(enum_dir(TE)))
566
567 def test_dir_on_item(self):
568 TE = self.MainEnum
569 self.assertEqual(set(dir(TE.first)), set(member_dir(TE.first)))
570
571 def test_dir_with_added_behavior(self):
572 class Test(self.enum_type):

Callers

nothing calls this directly

Calls 3

setFunction · 0.85
member_dirFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected