(self)
| 794 | |
| 795 | @unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: False != True |
| 796 | def test_isdigit(self): |
| 797 | super().test_isdigit() |
| 798 | self.checkequalnofix(True, '\u2460', 'isdigit') |
| 799 | self.checkequalnofix(False, '\xbc', 'isdigit') |
| 800 | self.checkequalnofix(True, '\u0660', 'isdigit') |
| 801 | |
| 802 | for ch in ['\U00010401', '\U00010427', '\U00010429', '\U0001044E', |
| 803 | '\U0001F40D', '\U0001F46F', '\U00011065']: |
| 804 | self.assertFalse(ch.isdigit(), '{!a} is not a digit.'.format(ch)) |
| 805 | for ch in ['\U0001D7F6', '\U00011066', '\U000104A0', '\U0001F107']: |
| 806 | self.assertTrue(ch.isdigit(), '{!a} is a digit.'.format(ch)) |
| 807 | |
| 808 | def test_isnumeric(self): |
| 809 | self.checkequalnofix(False, '', 'isnumeric') |
nothing calls this directly
no test coverage detected