Skip to content

Conversation

exarkun
Copy link
Contributor

@exarkun exarkun commented Aug 27, 2022

This fixes #153 by fixing only the Hypothesis strategy for DecodedURL. It doesn't stop encoded_urls from finding EncodedURL values which cannot be decoded by DecodedURL. It only catches these values in the decoded_urls strategy.

This might be the wrong change to make since it really only hides the fact that not all EncodedURL values can be decoded with DecodedURL. It seems like fixing the actual decoding in DecodedURL would be better, but I'm not sure how to do that.

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.

Hypothesis: builtins.UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte
1 participant