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

Skip to content

Pep8 tests fails when running python tests.py from base mpl dir. #3596

Closed
@jenshnielsen

Description

@jenshnielsen

Because mpldirdefault = os.path.join(os.getcwd(), '..', '..', '..') in test_pep8_conformance_examples
doesn't resolve to the base directory since os.getcwd() is the base dir in this case.

It works on travis because MPL_REPO_DIR is set. It will also work if the tests are run from the test directory which the above assumes.

This is due to some refactoring of test_coding_standards so it is only broken on the master branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions