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