Skip to content

Conversation

jdufresne
Copy link

Previously, this function checked against a whitelist of OSes that were
known to be a problem. This did include Fedora, which also fails this
test. Rather than chasing endless edge cases, test for this feature
programmatically.

Copy link
Member

@gaborbernat gaborbernat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jdufresne can you please the linting? just run tox -e fix_lint, thanks!

Also, we have a test dependency inside setup.py on distro if you remove it from where you can remove from there too 👍

Furthermore, I feel if you make this check like this we should probably cache it in a global variable, to reuse it for subsequent calls 👍

Previously, this function checked against a whitelist of OSes that were
known to be a problem. This didn't include Fedora, which also fails this
test. Rather than chasing endless edge cases, test for this feature
programmatically.
@jdufresne
Copy link
Author

Thanks for the review. I have rebased and made the suggested changes. All additional feedback is welcome. 🙂

@gaborbernat
Copy link
Member

Thanks now looks great 👍

@gaborbernat gaborbernat merged commit f401074 into tox-dev:master Jan 10, 2019
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.

2 participants