Skip to content

Exclude PYTHONPATH when invoking install, as it won't be present when invoking tests. #367

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

Merged
merged 1 commit into from
Oct 11, 2016

Conversation

jaraco
Copy link

@jaraco jaraco commented Sep 18, 2016

Fixes #330.

@RonnyPfannschmidt
Copy link

@jaraco any idea how to test that one?

@jaraco
Copy link
Author

jaraco commented Sep 18, 2016

I did test it in situ, but I suspect doing it as a unit test or functional test would be an awful lot of work -- probably more than it's worth. You could possibly do some mocks and validate that PYTHONPATH gets removed during that call, but I think the code speaks pretty well for itself. The logic hasn't changed - only the data that drives the logic.

I suggest accepting it without a unit test.

@RonnyPfannschmidt
Copy link

at first glance i suspect this will break things in nix-shell and nix-build environments

@hpk42 hpk42 merged commit 7954ed2 into tox-dev:master Oct 11, 2016
@RonnyPfannschmidt
Copy link

i believe my first suspicion is wrong, i will test on nix later on

@jaraco
Copy link
Author

jaraco commented Oct 14, 2016

Excellent. Thanjs

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

Successfully merging this pull request may close these issues.

3 participants