(self)
| 5076 | YELLOW = 3 |
| 5077 | |
| 5078 | def test_pydoc(self): |
| 5079 | # indirectly test __objclass__ |
| 5080 | if StrEnum.__doc__ is None: |
| 5081 | expected_text = expected_help_output_without_docs % __name__ |
| 5082 | else: |
| 5083 | expected_text = expected_help_output_with_docs % __name__ |
| 5084 | output = StringIO() |
| 5085 | helper = pydoc.Helper(output=output) |
| 5086 | helper(self.Color) |
| 5087 | result = output.getvalue().strip() |
| 5088 | self.assertEqual(result, expected_text, result) |
| 5089 | |
| 5090 | def test_inspect_getmembers(self): |
| 5091 | values = dict(( |
nothing calls this directly
no test coverage detected