Skip to content
This repository was archived by the owner on Oct 15, 2019. It is now read-only.

INTERNALERROR> AttributeError: 'str' object has no attribute 'relto' #12

Open
nharraud opened this issue May 17, 2017 · 0 comments
Open
Assignees

Comments

@nharraud
Copy link
Member

nharraud commented May 17, 2017

Problem:
There is a pytest bug in pytest version <2.8.3 (see pytest-dev/pytest#995). The error message is:

INTERNALERROR>   File "/Users/nharraud/.pyenv/versions/invenio-app-ils-3.5.0/lib/python3.5/site-packages/_pytest/python.py", line 49, in filter_traceback
INTERNALERROR>     return entry.path != cutdir1 and not entry.path.relto(cutdir2)
INTERNALERROR> AttributeError: 'str' object has no attribute 'relto'

Solution:
This can be fixed by upgrading to pytest >=2.8.3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant