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

Improved Hypothesis tests #167

Closed
wants to merge 3 commits into from
Closed

Conversation

Zac-HD
Copy link

@Zac-HD Zac-HD commented Oct 28, 2018

This pull request builds on #165 by @hugovk. In addition to installing Hypothesis so they can be run in CI, this PR also:

  • Removes the extra code to avoid them when Hypothesis is unavailable
    (i.e. on the no-longer-supported Python 2.6)
  • Removes the expensive xfail test that has never passed. This was testing that for any string that does not have a detectable encoding, there is some suffix which when appended will allow an encoding to be detected.
  • Adds a test that UTF8Prober will never enter an error state on utf-8 encoded text. This failed on my machine, so it might help @blueyed debug Using unicode purple heart should not cause detection to lose confidence about utf-8 #128?

hugovk and others added 3 commits September 8, 2018 18:09
And remove an expensive test that has never passed.
@Zac-HD
Copy link
Author

Zac-HD commented Apr 12, 2019

Closing as inactive, just to get it off my queue.

@Zac-HD Zac-HD closed this Apr 12, 2019
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