(self)
| 1110 | enum_type = StrEnum |
| 1111 | # |
| 1112 | def test_shadowed_attr(self): |
| 1113 | Book = StrEnum('Book', ('author', 'title')) |
| 1114 | # |
| 1115 | self.assertEqual(Book.author.title(), 'Author') |
| 1116 | self.assertEqual(Book.title.title(), 'Title') |
| 1117 | self.assertIs(Book.title.author, Book.author) |
| 1118 | |
| 1119 | |
| 1120 | class TestIntFlagClass(_EnumTests, _MinimalOutputTests, _FlagTests, unittest.TestCase): |
nothing calls this directly
no test coverage detected