Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

py.test fails if DPCOMP_LOG_PATH is not set #3

Open
simsong opened this issue Mar 15, 2017 · 0 comments
Open

py.test fails if DPCOMP_LOG_PATH is not set #3

simsong opened this issue Mar 15, 2017 · 0 comments

Comments

@simsong
Copy link
Contributor

simsong commented Mar 15, 2017

Running py.test without setting DPCOMP_LOG_PATH generates this error:

_______________________________________________ ERROR collecting test/mechanism/test_dataset.py ________________________________________________
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py/_path/local.py:662: in pyimport
    __import__(modname)
test/__init__.py:5: in <module>
    LOG_PATH = os.environ['DPCOMP_LOG_PATH']
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/UserDict.py:40: in __getitem__
    raise KeyError(key)
E   KeyError: 'DPCOMP_LOG_PATH'
____________________________________________ ERROR collecting test/mechanism/test_query_nd_union.py ____________________________________________

These environment variables are referenced in the README.md, but the failing could be more graceful than the failure experienced above.

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

No branches or pull requests

1 participant