-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reencode non-ascii python2 assertion reprs, fixes #877
i decided against using a warning since the problem goes away with python3 the support code can be removed once we drop python2 in 10 years or so
- Loading branch information
1 parent
f02d942
commit 49c99a4
Showing
3 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Just a snarky remark from the future: comparing/asserting the actual result here would have helped me (since this is
None
when only comparing (real) bytes with (real) unicode here now). Just a friendly plea for more expressive tests.. :)