'if pb dialect is selected, the sender must be able to send things in
that dialect.'

def test_sendPb(self):

    selectDialect(self.enc, 'pb')
    self.enc.sendEncoded(self.vocab)
    self.assertEqual(self.legalPbItem, self.io.getvalue())
