parser.add_argument('-C', '--with-coverage', action='store_true',
help="Generate coverage data from the tests run")
parser.add_argument('-H', '--cover-html', action='store_true',
help='generate html files to see test coverage') return parser.parse_args()
def run(cmd, **kwargs):
msg = 'Running: |%s|' % ' '.join(pipes.quote(c) for c in cmd) if kwargs.get('cwd'):
msg += ' in %s' % kwargs['cwd']
print(msg)
check_call(cmd, **kwargs)
def rm(path): if os.path.isfile(path):
os.unlink(path) elif os.path.isdir(path):
shutil.rmtree(path)
if __name__ == '__main__':
options = parse_args()
here = os.path.dirname(os.path.abspath(__file__))
os.chdir(here)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.