'Enum constructor should refuse non-string keys.'

def test_bad_key(self):

    for key in self.bad_keys:
        args = ('valid', key, 'valid')
        self.failUnlessRaises(enum.EnumBadKeyError, enum.Enum, *args)
