(self)
| 1879 | self.assertEqual(rf"{UnchangedFormat():\xFF} {UnchangedFormat():\n}", '\\xFF \\n') |
| 1880 | |
| 1881 | def test_gh139516(self): |
| 1882 | with temp_cwd(): |
| 1883 | script = 'script.py' |
| 1884 | with open(script, 'wb') as f: |
| 1885 | f.write('''def f(a): pass\nf"{f(a=lambda: 'à'\n)}"'''.encode()) |
| 1886 | assert_python_ok(script) |
| 1887 | |
| 1888 | |
| 1889 | if __name__ == '__main__': |
nothing calls this directly
no test coverage detected