@@ -392,26 +392,26 @@ t"{('implicit concatenation', ["'single'", '"double"'])}"
392392
393393### Unsupported Syntax Errors
394394error [invalid - syntax ]: Cannot reuse outer quote character in f - strings on Python 3.11 (syntax was added in Python 3.12 )
395- -- > nested_string_quote_style .py :30 :24
395+ -- > nested_string_quote_style .py :28 :24
396396 |
397+ 26 | f " 'single' quotes and {'nested string'}"
398+ 27 | t " 'single' quotes and {'nested string'}"
39739928 | f ' "double" quotes and {' nested string with " double" quotes ' }' # syntax error pre - 3.12
400+ | ^
39840129 | t ' "double" quotes and {' nested string with " double" quotes ' }'
39940230 | f " 'single' quotes and {" nested string with ' single' quotes " }'" # syntax error pre - 3.12
400- | ^
401- 31 | t " 'single' quotes and {" nested string with ' single' quotes " }'"
402- 32 | f ' "double" quotes and {"nested string with ' single ' quotes"}' # syntax error pre - 3.12
403403 |
404404warning : Only accept new syntax errors if they are also present in the input . The formatter should not introduce syntax errors .
405405
406406error [invalid - syntax ]: Cannot reuse outer quote character in f - strings on Python 3.11 (syntax was added in Python 3.12 )
407- -- > nested_string_quote_style .py :28 :24
407+ -- > nested_string_quote_style .py :30 :24
408408 |
409- 26 | f " 'single' quotes and {'nested string'}"
410- 27 | t " 'single' quotes and {'nested string'}"
41140928 | f ' "double" quotes and {' nested string with " double" quotes ' }' # syntax error pre - 3.12
412- | ^
41341029 | t ' "double" quotes and {' nested string with " double" quotes ' }'
41441130 | f " 'single' quotes and {" nested string with ' single' quotes " }'" # syntax error pre - 3.12
412+ | ^
413+ 31 | t " 'single' quotes and {" nested string with ' single' quotes " }'"
414+ 32 | f ' "double" quotes and {"nested string with ' single ' quotes"}' # syntax error pre - 3.12
415415 |
416416warning : Only accept new syntax errors if they are also present in the input . The formatter should not introduce syntax errors .
417417
@@ -519,25 +519,25 @@ t"{('implicit concatenation', ["'single'", '"double"'])}"
519519
520520### Unsupported Syntax Errors
521521error [invalid - syntax ]: Cannot reuse outer quote character in f - strings on Python 3.11 (syntax was added in Python 3.12 )
522- -- > nested_string_quote_style .py :30 :24
522+ -- > nested_string_quote_style .py :28 :24
523523 |
524+ 26 | f " 'single' quotes and {'nested string'}"
525+ 27 | t " 'single' quotes and {'nested string'}"
52452628 | f ' "double" quotes and {' nested string with " double" quotes ' }' # syntax error pre - 3.12
527+ | ^
52552829 | t ' "double" quotes and {' nested string with " double" quotes ' }'
52652930 | f " 'single' quotes and {" nested string with ' single' quotes " }'" # syntax error pre - 3.12
527- | ^
528- 31 | t " 'single' quotes and {" nested string with ' single' quotes " }'"
529- 32 | f ' "double" quotes and {"nested string with ' single ' quotes"}' # syntax error pre - 3.12
530530 |
531531warning : Only accept new syntax errors if they are also present in the input . The formatter should not introduce syntax errors .
532532
533533error [invalid - syntax ]: Cannot reuse outer quote character in f - strings on Python 3.11 (syntax was added in Python 3.12 )
534- -- > nested_string_quote_style .py :28 :24
534+ -- > nested_string_quote_style .py :30 :24
535535 |
536- 26 | f " 'single' quotes and {'nested string'}"
537- 27 | t " 'single' quotes and {'nested string'}"
53853628 | f ' "double" quotes and {' nested string with " double" quotes ' }' # syntax error pre - 3.12
539- | ^
54053729 | t ' "double" quotes and {' nested string with " double" quotes ' }'
54153830 | f " 'single' quotes and {" nested string with ' single' quotes " }'" # syntax error pre - 3.12
539+ | ^
540+ 31 | t " 'single' quotes and {" nested string with ' single' quotes " }'"
541+ 32 | f ' "double" quotes and {"nested string with ' single ' quotes"}' # syntax error pre - 3.12
542542 |
543543warning : Only accept new syntax errors if they are also present in the input . The formatter should not introduce syntax errors .
0 commit comments