'When constructed with a name which is neither C{bytes} nor C{str},
L{Name} raises L{TypeError}.'

def test_nonStringName(self):

    self.assertRaises(TypeError, dns.Name, 123)
    self.assertRaises(TypeError, dns.Name, object())
    self.assertRaises(TypeError, dns.Name, [])
