method: test.Session.skipbykeyword

*Not documented*
    def skipbykeyword(self, colitem): 

origin: test.Session

where:

function source:

def skipbykeyword(self, colitem): 
    keyword = self.config.option.keyword
    if not keyword: 
        return 
    chain = colitem.listchain()
    for key in filter(None, keyword.split()): 
        eor = key[:1] == '-' 
        if eor: 
            key = key[1:]
        if not (eor ^ self._matchonekeyword(key, chain)): 
            py.test.skip("test not selected by keyword %r" %(keyword,))