Skip to content

The tests#4

Merged
dan-blanchard merged 2 commits intochardet:masterfrom
puzzlet:feature/tests
Dec 11, 2013
Merged

The tests#4
dan-blanchard merged 2 commits intochardet:masterfrom
puzzlet:feature/tests

Conversation

@puzzlet
Copy link
Copy Markdown
Contributor

@puzzlet puzzlet commented Nov 15, 2012

This is the tests from Mark Pilgrim's original repository at Google Code, plus the tests from modern web browsers and similar chardet projects.

P.S. I've also put a pull req on @dcramer's repository: dcramer/chardet#6

@erikrose
Copy link
Copy Markdown
Contributor

This is great! I've been sad/afraid/amazed that there were no tests for this big bag of heuristics.

@puzzlet
Copy link
Copy Markdown
Contributor Author

puzzlet commented Nov 30, 2012

Any news yet? Maybe you want me to rebase this to your repository instead of @dcramer's?

dan-blanchard added a commit that referenced this pull request Dec 11, 2013
Add unit tests from Mark Pilgrim's original repository.
@dan-blanchard dan-blanchard merged commit 44d38b3 into chardet:master Dec 11, 2013
dan-blanchard pushed a commit that referenced this pull request Dec 15, 2013
The BOM detection was comparing str instances with bytes instances.
e.g.  b'\xEF\xBB\xBF' ==  '\xEF\xBB\xBF'

Test status before commit: 377 tests 25 failures
Test status after commit: 382 tests 25 failures
dan-blanchard pushed a commit that referenced this pull request Dec 15, 2013
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.

3 participants