(self)
| 1698 | result = format_string % 2.34 |
| 1699 | |
| 1700 | def test_startswith_endswith_errors(self): |
| 1701 | for meth in ('foo'.startswith, 'foo'.endswith): |
| 1702 | with self.assertRaises(TypeError) as cm: |
| 1703 | meth(['f']) |
| 1704 | exc = str(cm.exception) |
| 1705 | self.assertIn('str', exc) |
| 1706 | self.assertIn('tuple', exc) |
| 1707 | |
| 1708 | @support.run_with_locale('LC_ALL', 'de_DE', 'fr_FR', '') |
| 1709 | def test_format_float(self): |
nothing calls this directly
no test coverage detected