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

String representation for empty origin objects #2127

Closed

Conversation

@d-chambers
Copy link
Member

commented Apr 30, 2018

What does this PR do?

Fixes issue #2119

TypeError (#2119).
"""
out = str(Event(origins=[Origin()]))
self.assertIsInstance(out, str)

This comment has been minimized.

Copy link
@krischer

krischer May 1, 2018

Member

Can you please also assert the actual string?

@krischer krischer changed the title fix issue #2119 String representation for empty origin objects May 1, 2018
@krischer krischer added this to the 1.1.1 milestone May 1, 2018
@krischer krischer force-pushed the obspy:maintenance_1.1.x branch from f489321 to aabc7ff May 2, 2018
@krischer krischer closed this May 2, 2018
@krischer krischer force-pushed the d-chambers:maintenance_1.1.x branch from e1da80a to aabc7ff May 2, 2018
@krischer

This comment has been minimized.

Copy link
Member

commented May 2, 2018

Superseded in #2132.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.