Skip to content

py.path.local('/').join('tox.ini') produces '//tox.ini', causing pytest to hang on cygwin. #97

Closed
@account-login

Description

@account-login

The double slash path is causing problems, see pytest-dev/pytest#2135 for details.

This issue can be fixed by changing strpath = strpath + sep + arg to strpath = strpath.rstrip(sep) + sep + arg in py.path.local.join()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions