(self)
| 728 | self.check_encode_type_errors(base64.b32hexencode) |
| 729 | |
| 730 | def test_b32hexencode_wrapcol(self): |
| 731 | eq = self.assertEqual |
| 732 | b = b'www.python.org' |
| 733 | self._common_test_wrapcol(base64.b32hexencode, b) |
| 734 | eq(base64.b32hexencode(b, wrapcol=16), b'ETRNEBJGF5Q6GRRE\n5PNN4PO=') |
| 735 | eq(base64.b32hexencode(b, wrapcol=23), b'ETRNEBJGF5Q6GRRE\n5PNN4PO=') |
| 736 | eq(base64.b32hexencode(b, wrapcol=1), b'ETRNEBJG\nF5Q6GRRE\n5PNN4PO=') |
| 737 | |
| 738 | def test_b32hexdecode(self): |
| 739 | test_cases = [ |
nothing calls this directly
no test coverage detected