| 1 | """In this file, descriptions is a dict whose keys are the names of |
| 2 | Python files that raise a SyntaxError (or subclass) when they are imported. |
| 3 | This is done from the file |
| 4 | /tests/formatting/catch_for_formatting_tsts.py |
| 5 | """ |
| 6 | |
| 7 | where = "parsing_error_source" |
| 8 | cause = "cause" |
| 9 | |
| 10 | descriptions = {} |
| 11 | |
| 12 | descriptions["single_line"] = {} |
| 13 | descriptions["single_line"][where]= """\ |
| 14 | 1| a = {'a': 1, 'b': 2 'c': 3,} |
| 15 | ^^^^^ |
| 16 | """ |
| 17 | descriptions["single_line"][cause] = """\ |
| 18 | a = {'a': 1, 'b': 2, 'c': 3,} |
| 19 | ^ |
| 20 | """ |