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

Make LazyObject iterable for Python 3 #88

Merged
merged 2 commits into from
Jul 16, 2020

Conversation

cclauss
Copy link

@cclauss cclauss commented Jul 16, 2020

LazyObject will fail its doctest without these modifications.

@cclauss
Copy link
Author

cclauss commented Jul 16, 2020

Moved to #90 The directive # doctest: +ALLOW_UNICODE is quite helpful in dealing with u'strings' in doctest output however it requires that infogami/infobase/tests/test_doctests.py uses PytestDoctestRunner instead of DocTestRunner.

Copy link

@paulproteus paulproteus left a comment

Choose a reason for hiding this comment

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

Looks good, although I think it can be simplified; see comment. Happy to see it merged or revised, either way.

infogami/infobase/client.py Show resolved Hide resolved
Copy link
Collaborator

@cdrini cdrini left a comment

Choose a reason for hiding this comment

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

Trusting @paulproteus judgement on this one :)

@cdrini cdrini merged commit 051e3e7 into internetarchive:master Jul 16, 2020
@cclauss cclauss deleted the fix-LazyObject-test branch July 17, 2020 05:50
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