Skip to content

QuerystringParser: don't raise an AttributeError in __repr__#30

Merged
andrew-d merged 2 commits intomasterfrom
andrew/fix-attribute-error
May 4, 2021
Merged

QuerystringParser: don't raise an AttributeError in __repr__#30
andrew-d merged 2 commits intomasterfrom
andrew/fix-attribute-error

Conversation

@andrew-d
Copy link
Collaborator

Fixes #29

@andrew-d andrew-d self-assigned this Sep 16, 2020
@andrew-d
Copy link
Collaborator Author

Hm, apparently forgot to do anything with this...
r? @tomchristie

@andrew-d andrew-d requested a review from lovelydinosaur March 19, 2021 22:42
Copy link
Collaborator

@lovelydinosaur lovelydinosaur left a comment

Choose a reason for hiding this comment

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

Sure, yup.

Personally I would probably have any test case for __repr__ be something like `assert repr(self.p) == '...whatever...', but s'all good.

@andrew-d andrew-d merged commit ed8c47a into master May 4, 2021
@andrew-d andrew-d deleted the andrew/fix-attribute-error branch May 4, 2021 00: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.

There is an AttributeError when repr(querystring_parser)

2 participants