(self)
| 1860 | self.assertEqual(rf"{UnchangedFormat():\xFF} {UnchangedFormat():\n}", '\\xFF \\n') |
| 1861 | |
| 1862 | def test_gh139516(self): |
| 1863 | with temp_cwd(): |
| 1864 | script = 'script.py' |
| 1865 | with open(script, 'wb') as f: |
| 1866 | f.write('''def f(a): pass\nf"{f(a=lambda: 'à'\n)}"'''.encode()) |
| 1867 | assert_python_ok(script) |
| 1868 | |
| 1869 | |
| 1870 | if __name__ == '__main__': |
nothing calls this directly
no test coverage detected