| 846 | |
| 847 | def test_custom_format_specifier(self): |
| 848 | class CustomFormat: |
| 849 | def __format__(self, format_spec): |
| 850 | return format_spec |
| 851 | |
| 852 | self.assertEqual(f'{CustomFormat():\n}', '\n') |
| 853 | self.assertEqual(f'{CustomFormat():\u2603}', '☃') |
no outgoing calls
searching dependent graphs…