def test_dispatcher(self): """Test that the dispatcher works on any object.""" with self.assertRaises(StopIteration): dods(None)