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

Added test case for null string #11

Merged
merged 1 commit into from Aug 9, 2016
Merged

Added test case for null string #11

merged 1 commit into from Aug 9, 2016

Conversation

timj
Copy link
Member

@timj timj commented Aug 9, 2016

Added fix to check to see if iter was not a string, which was causing a failure

Added fix to check to see if __iter__ was not a string, which was causing a failure
@timj
Copy link
Member Author

timj commented Aug 9, 2016

This looks great. I found the exact same brokenness in lsst-dm/legacy-daf_persistence@b345d21 in lsst-dm/legacy-daf_persistence#19. My only comment is that it might be safer to use from past.builtins import basestring and use that for the test as you are bound to get a unicode string passed in from somewhere in python2 as part of the transition.

@srp3rd srp3rd merged commit 8d51941 into master Aug 9, 2016
@ktlim ktlim deleted the tickets/DM-7169 branch August 25, 2018 06:44
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