with open(TEST_PATH, "wb") as fout: with open(MOCHI_PATH, "rb") as fin: for line in fin:
skip_line = False for css in CSS_PATTERN.findall(line):
skip_line = True
print("Ignoring stylesheet: " + css.decode())
for inc in INCLUDE_PATTERN.findall(line):
skip_line = True if inc == b"/MochiKit/MochiKit": continue
if inc == b"/tests/SimpleTest/SimpleTest":
print("Injecting SimpleTest replacement")
fout.write(SIMPLETEST_REPLACEMENT) continue
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 und die Messung sind noch experimentell.