Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ae7345b

Browse files
committed
TST : made known-failure message more useful
1 parent 30b3410 commit ae7345b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/matplotlib/tests/test_coding_standards.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,9 @@ def test_pep8_conformance_installed_files():
259259
def test_pep8_conformance_examples():
260260
mpldir = os.environ.get('MPL_REPO_DIR', None)
261261
if mpldir is None:
262-
raise KnownFailureTest("can not find the examples")
262+
raise KnownFailureTest("can not find the examples, set env "
263+
"MPL_REPO_DIR to point to the top-level path "
264+
"of the source tree")
263265

264266
exdir = os.path.join(mpldir, 'examples')
265267
blacklist = ['color',

0 commit comments

Comments
 (0)