(self)
| 1676 | result = format_string % 2.34 |
| 1677 | |
| 1678 | def test_startswith_endswith_errors(self): |
| 1679 | for meth in ('foo'.startswith, 'foo'.endswith): |
| 1680 | with self.assertRaises(TypeError) as cm: |
| 1681 | meth(['f']) |
| 1682 | exc = str(cm.exception) |
| 1683 | self.assertIn('str', exc) |
| 1684 | self.assertIn('tuple', exc) |
| 1685 | |
| 1686 | @support.run_with_locale('LC_ALL', 'de_DE', 'fr_FR', '') |
| 1687 | def test_format_float(self): |
nothing calls this directly
no test coverage detected