def test_xlist_shuffle(self): xl = XList([1, 2, 3], {'first_attr': 1}) nl = xl.random_sample(2)
def test_xlist_shuffle(self): xl = XList([1 , 2, 3], {'first_attr': 1}) nl = xl.random_sample(2)
def test_xlist_random_sample_noexception(self): xl = XList([1, 2, 3], {'first_attr': 1}) nl = xl.random_sample(2) self.assertTrue(len(nl) == 2)
def test_xlist_random_sample_noexception(self): xl = XList([1 , 2, 3], {'first_attr': 1}) nl = xl.random_sample(2) self.assertTrue(len(nl) == 2)