(self)
| 5043 | YELLOW = 3 |
| 5044 | |
| 5045 | def test_pydoc(self): |
| 5046 | # indirectly test __objclass__ |
| 5047 | if StrEnum.__doc__ is None: |
| 5048 | expected_text = expected_help_output_without_docs % __name__ |
| 5049 | else: |
| 5050 | expected_text = expected_help_output_with_docs % __name__ |
| 5051 | output = StringIO() |
| 5052 | helper = pydoc.Helper(output=output) |
| 5053 | helper(self.Color) |
| 5054 | result = output.getvalue().strip() |
| 5055 | self.assertEqual(result, expected_text, result) |
| 5056 | |
| 5057 | def test_inspect_getmembers(self): |
| 5058 | values = dict(( |
nothing calls this directly
no test coverage detected