| 222 | self.assertNotIn(or_none_str, rst_help) |
| 223 | |
| 224 | class MyConf2(Configurable): |
| 225 | an_enum = Enum( |
| 226 | "Choice1 choice2".split(), |
| 227 | allow_none=True, |
| 228 | default_value="choice2", |
| 229 | help="Many choices.", |
| 230 | ).tag(config=True) |
| 231 | |
| 232 | defaults_str = "Default: 'choice2'" |
| 233 |