(self)
| 940 | ]) |
| 941 | |
| 942 | def test_newlines_before_syntax_error(self): |
| 943 | self.assertAllRaise(SyntaxError, |
| 944 | "f-string: expecting a valid expression after '{'", |
| 945 | ["f'{.}'", "\nf'{.}'", "\n\nf'{.}'"]) |
| 946 | |
| 947 | def test_backslashes_in_string_part(self): |
| 948 | self.assertEqual(f'\t', '\t') |
nothing calls this directly
no test coverage detected