Commit 5ef0902
authored
Fix the exportjson tool (.ff cache to .json conversion) (#21628)
It was broken by lazy cache deserialization, and the tests didn't catch
it since the fixup state was persisted within the test. Both fix the
exportjson tool and make the test more realistic.1 parent 8d621ad commit 5ef0902Copy full SHA for 5ef0902
3 files changed
+23-2Lines changed: 23 additions & 2 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- mypy
- test
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+6-2Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
128 | 128 | |
129 | 129 | |
130 | 130 | |
131 | | - |
132 | | - |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
133 | 137 | |
134 | 138 | |
135 | 139 | |
|
Collapse file
+11Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4952 | 4952 | |
4953 | 4953 | |
4954 | 4954 | |
| 4955 | + |
| 4956 | + |
| 4957 | + |
| 4958 | + |
| 4959 | + |
| 4960 | + |
| 4961 | + |
| 4962 | + |
| 4963 | + |
| 4964 | + |
| 4965 | + |
4955 | 4966 | |
4956 | 4967 | |
4957 | 4968 | |
|
Collapse file
mypy/test/testexportjson.py
Copy file name to clipboardExpand all lines: mypy/test/testexportjson.py+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
11 | 11 | |
12 | 12 | |
13 | 13 | |
| 14 | + |
14 | 15 | |
15 | 16 | |
16 | 17 | |
| ||
44 | 45 | |
45 | 46 | |
46 | 47 | |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
47 | 53 | |
48 | 54 | |
49 | 55 | |
|
0 commit comments