140
141
topics.register('formats', self.make_format_registry().help_topic,
142
143
topic = topics.get_detail('formats')
144
146
self.assertContainsRe(new, 'These formats can be used')
145
147
self.assertContainsRe(new,
146
148
':knit:\n \(native\) \(default\) Format using knits\n')
147
151
self.assertContainsRe(deprecated,
148
152
':lazy:\n \(native\) Format registered lazily\n')
149
153
self.assertNotContainsRe(new, 'hidden')