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

py3 prep: foo.values() does not return an indexable list #36

Merged
merged 1 commit into from Mar 22, 2020

Conversation

bhipple
Copy link
Contributor

@bhipple bhipple commented Mar 22, 2020

Casting to a list is a no-op in py2, but in py3 we cannot index [0] without it.

Partial progress towards #29.

This commit also removes unused imports from test case files as a general cleanup.

CC @grahamc @AmineChikhaoui

Casting to a list is a no-op in py2, but in py3 we cannot index [0] without it.

Partial progress towards NixOS#29.

This commit also removes unused imports from test case files as a general cleanup.
@bhipple
Copy link
Contributor Author

bhipple commented Mar 22, 2020

Only changes test files, and the build is green on py2, so should be safe; plus trivial to review :)

@grahamc grahamc merged commit de811d8 into NixOS:master Mar 22, 2020
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.

None yet

2 participants