def gen_word2(n): return "".join([t_random.choice(string.ascii_letters + string.digits) for i in range(n)])
def test_choice(self): element = t_random.choice(self.seq) self.assertTrue(element in self.seq)