(self)
| 732 | self.assertFalse(ch.istitle(), '{!a} is not title'.format(ch)) |
| 733 | |
| 734 | def test_isspace(self): |
| 735 | super().test_isspace() |
| 736 | self.checkequalnofix(True, '\u2000', 'isspace') |
| 737 | self.checkequalnofix(True, '\u200a', 'isspace') |
| 738 | self.checkequalnofix(False, '\u2014', 'isspace') |
| 739 | # There are no non-BMP whitespace chars as of Unicode 12. |
| 740 | for ch in ['\U00010401', '\U00010427', '\U00010429', '\U0001044E', |
| 741 | '\U0001F40D', '\U0001F46F']: |
| 742 | self.assertFalse(ch.isspace(), '{!a} is not space.'.format(ch)) |
| 743 | |
| 744 | @support.requires_resource('cpu') |
| 745 | def test_isspace_invariant(self): |
nothing calls this directly
no test coverage detected