(self)
| 895 | self.type2test(b'abc----')) |
| 896 | |
| 897 | def test_rjust(self): |
| 898 | # Fill character can be either bytes or bytearray (issue 12380) |
| 899 | b = self.type2test(b'abc') |
| 900 | for fill_type in (bytes, bytearray): |
| 901 | self.assertEqual(b.rjust(7, fill_type(b'-')), |
| 902 | self.type2test(b'----abc')) |
| 903 | |
| 904 | def test_xjust_int_error(self): |
| 905 | self.assertRaises(TypeError, self.type2test(b'abc').center, 7, 32) |
nothing calls this directly
no test coverage detected