def testsample(self):
        self.assertRaises(ValueError, random.sample, self.seq, 20)
        for element in random.sample(self.seq, 5):
            self.assert_(element in self.seq)
dataset/ETHPy150Open weblabdeusto/weblabdeusto/tools/ExperimentServerTester/src/LogEntry.py/TestLogEntry.testsample/original