Test case for issue 3583: Printing Unicode in doctest under Python 2.7 doesn't work
(self, pytester: Pytester)
| 763 | result.stdout.fnmatch_lines(["* 1 passed *"]) |
| 764 | |
| 765 | def test_print_unicode_value(self, pytester: Pytester): |
| 766 | """ |
| 767 | Test case for issue 3583: Printing Unicode in doctest under Python 2.7 |
| 768 | doesn't work |
| 769 | """ |
| 770 | p = pytester.maketxtfile( |
| 771 | test_print_unicode_value=r""" |
| 772 | Here is a doctest:: |
| 773 | |
| 774 | >>> print('\xE5\xE9\xEE\xF8\xFC') |
| 775 | åéîøü |
| 776 | """ |
| 777 | ) |
| 778 | result = pytester.runpytest(p) |
| 779 | result.stdout.fnmatch_lines(["* 1 passed *"]) |
| 780 | |
| 781 | def test_reportinfo(self, pytester: Pytester): |
| 782 | """Make sure that DoctestItem.reportinfo() returns lineno.""" |
nothing calls this directly
no test coverage detected