def test_split_input_empty(): """grouptools.split: an empty input returns [].""" nt.assert_equal(grouptools.split(''), [])
def test_input_empty(self): """grouptools.split: an empty input returns [].""" assert grouptools.split('') == []
def test_basic(self): assert grouptools.split(grouptools.join('g', 't')) == ['g', 't']
def __call__(self, name, _): if 'vs_in' in grouptools.split(name): # 20% return self.random.random() <= .2 return True