-
Notifications
You must be signed in to change notification settings - Fork 126
Closed
Description
As part of starting to see how to contribute, I checked out the code, installed the requirements, and ran the tests, which produced this test failure.
________________________________________________________________________ test_output _________________________________________________________________________
tmpdir = local('/private/var/folders/rj/671kk3fx4cj_q5qdpp4kcmmm0000gp/T/pytest-of-miketheman/pytest-1/test_output0')
def test_output(tmpdir):
files = """
unrelated: []
foo:
- __init__.py
- a.py: |
from bar import b
bar:
- __init__.py
- b.py
"""
with create_files(files) as workdir:
> assert os.getcwd() == workdir
E AssertionError: assert '/private/var...T/tmpdq01lrqw' == '/var/folders/...T/tmpdq01lrqw'
E - /private/var/folders/rj/671kk3fx4cj_q5qdpp4kcmmm0000gp/T/tmpdq01lrqw
E ? --------
E + /var/folders/rj/671kk3fx4cj_q5qdpp4kcmmm0000gp/T/tmpdq01lrqw
tests/test_cli.py:21: AssertionError
It looks like the os.getcwd
call is returning the full path including /private/
preface.
Metadata
Metadata
Assignees
Labels
No labels