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

Arca backend used in tests #519

Open
mikicz opened this issue Feb 2, 2019 · 0 comments
Open

Arca backend used in tests #519

mikicz opened this issue Feb 2, 2019 · 0 comments

Comments

@mikicz
Copy link
Member

mikicz commented Feb 2, 2019

So I was looking at the failing test in test_arca_render and at first, I also had no clue what the problem is... But then after crawling through the logs and some experiments, I found the issue: the test is being run with arca.backend.CurrentEnvironmentBackend and the current environment has got naucse-render installed.

I really struggled to find why the hell CurrentEnvironmentBackend is used even though VenvBackend is configured in the tests (and even when I set the environ variable), but I finally found it in pytest.ini, the environ there overrides the VenvBackend in tests and even the backend provided in CLI.

I'm not exactly sure what backend you actually want to run it with so I'm not making a PR.
Also, just as a heads up, VenvBackend does not work on Travis (travis-ci/travis-ci#8589, issue closed because it was stale, but AFAIK still not resolved)

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