Skip to content

Conversation

@untitaker
Copy link
Member

@untitaker untitaker commented Mar 30, 2017

  • tests leave repo in dirty state


def __init__(self, raw):
assert isinstance(raw, str)
assert isinstance(raw, str), type(raw)
Copy link
Member

Choose a reason for hiding this comment

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

What exactly does type(raw) do here? I don't quite understand the syntax.

Copy link
Member Author

Choose a reason for hiding this comment

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

type(raw) is the error message. It's not related but should be there IMO either way.

Copy link
Member

Choose a reason for hiding this comment

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

Oh, cool, didn't know the syntax.

@geier
Copy link
Member

geier commented Mar 30, 2017 via email

@untitaker untitaker merged commit 0d9ec64 into master Apr 13, 2017
untitaker added a commit that referenced this pull request Apr 13, 2017
@untitaker untitaker deleted the etesync branch October 5, 2017 15:45
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.

4 participants