# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/.
for r in results: assert"bad/test.txt"in r.relpath assert r.level == "error" assert r.lineno == 1
expected_messages = [ "After 'requires-python:', entries must be in alphabetical order.", "First line must start with 'requires-python:'.", "Specification of 'vendored:third_party/python/blessed' is redundant; already in",
]
actual_messages = [r.message for r in results]
missing = [
msg for msg in expected_messages ifnot any(msg in actual for actual in actual_messages)
] assertnot missing, f"Missing expected message(s): {missing}"
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.