(self)
| 258 | self.assertIsInstance(r, markdown.util.Registry) |
| 259 | |
| 260 | def testRegisterWithoutPriority(self): |
| 261 | r = markdown.util.Registry() |
| 262 | with self.assertRaises(TypeError): |
| 263 | r.register(Item('a')) |
| 264 | |
| 265 | def testSortRegistry(self): |
| 266 | r = markdown.util.Registry() |