virtualEnvironment/lib/python2.7/site-packages/coverage/control.py
def sysinfo(self):
        """Return a list of (key, value) pairs showing internal information."""

        import coverage as covmod
        import platform, re

        try:
            implementation = platform.python_implementation()
        except AttributeError:
            implementation = "unknown"

        info = [
            ('version', covmod.__version__),
            ('coverage', covmod.__file__),
            ('cover_dir', self.cover_dir),
            ('pylib_dirs', self.pylib_dirs),
            ('tracer', self.collector.tracer_name()),
            ('config_files', self.config.attempted_config_files),
            ('configs_read', self.config.config_files),
            ('data_path', self.data.filename),
            ('python', sys.version.replace('\n', '')),
            ('platform', platform.platform()),
            ('implementation', implementation),
            ('executable', sys.executable),
            ('cwd', os.getcwd()),
            ('path', sys.path),
            ('environment', sorted([
                ("%s = %s" % (k, v)) for k, v in iitems(os.environ)
                    if re.search(r"^COV|^PY", k)
                ])),
            ('command_line', " ".join(getattr(sys, 'argv', ['???']))),
            ]
        if self.source_match:
            info.append(('source_match', self.source_match.info()))
        if self.include_match:
            info.append(('include_match', self.include_match.info()))
        if self.omit_match:
            info.append(('omit_match', self.omit_match.info()))
        if self.cover_match:
            info.append(('cover_match', self.cover_match.info()))
        if self.pylib_match:
            info.append(('pylib_match', self.pylib_match.info()))

        return info
def sysinfo(self):
        """Return a list of (key, value) pairs showing internal information."""

        import coverage as covmod
        import platform, re

        try:
            implementation = platform.python_implementation()
        except AttributeError:
            implementation = "unknown"

        info = [
            ('version', covmod.__version__),
            ('coverage', covmod.__file__),
            ('cover_dir', self.cover_dir),
            ('pylib_dirs', self.pylib_dirs),
            ('tracer', self.collector.tracer_name()),
            ('config_files', self.config.attempted_config_files),
            ('configs_read', self.config.config_files),
            ('data_path', self.data.filename),
            ('python', sys.version.replace('\n', '')),
            ('platform', platform.platform()),
            ('implementation', implementation),
            ('executable', sys.executable),
            ('cwd', os.getcwd()),
            ('path', sys.path),
            ('environment', sorted([
                ("%s = %s" % (k, v)) for k, v in iitems(os.environ)
                    if re.search(r"^COV|^PY", k)
                ])),
            ('command_line', " ".join(getattr(sys, 'argv', ['???']))),
            ]
        if self.source_match:
            info.append(('source_match', self.source_match.info()))
        if self.include_match:
            info.append(('include_match', self.include_match.info()))
        if self.omit_match:
            info.append(('omit_match', self.omit_match.info()))
        if self.cover_match:
            info.append(('cover_match', self.cover_match.info()))
        if self.pylib_match:
            info.append(('pylib_match', self.pylib_match.info()))

        return info
def sysinfo ( self ) : import coverage as covmod import platform , re try : implementation = platform . python_implementation ( ) except AttributeError : implementation = "unknown" info = [ ( 'version' , covmod . __version__ ) , ( 'coverage' , covmod . __file__ ) , ( 'cover_dir' , self . cover_dir ) , ( 'pylib_dirs' , self . pylib_dirs ) , ( 'tracer' , self . collector . tracer_name ( ) ) , ( 'config_files' , self . config . attempted_config_files ) , ( 'configs_read' , self . config . config_files ) , ( 'data_path' , self . data . filename ) , ( 'python' , sys . version . replace ( '\n' , '' ) ) , ( 'platform' , platform . platform ( ) ) , ( 'implementation' , implementation ) , ( 'executable' , sys . executable ) , ( 'cwd' , os . getcwd ( ) ) , ( 'path' , sys . path ) , ( 'environment' , sorted ( [ ( "%s = %s" % ( k , v ) ) for k , v in iitems ( os . environ ) if re . search ( r"^COV|^PY" , k ) ] ) ) , ( 'command_line' , " " . join ( getattr ( sys , 'argv' , [ '???' ] ) ) ) , ] if self . source_match : info . append ( ( 'source_match' , self . source_match . info ( ) ) ) if self . include_match : info . append ( ( 'include_match' , self . include_match . info ( ) ) ) if self . omit_match : info . append ( ( 'omit_match' , self . omit_match . info ( ) ) ) if self . cover_match : info . append ( ( 'cover_match' , self . cover_match . info ( ) ) ) if self . pylib_match : info . append ( ( 'pylib_match' , self . pylib_match . info ( ) ) ) return info
Return a list of (key, value) pairs showing internal information.
Return a list of ( key value ) pairs showing internal information .