Skip to content

Commit 7dee8fd

Browse files
committed
Update glean-snapshot-python-scip test output
1 parent 3972375 commit 7dee8fd

12 files changed

Lines changed: 160 additions & 6 deletions

glean/lang/python-scip/tests/cases/xrefs/Documentation.out

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,28 @@
11
[
22
"@generated",
33
{ "key": "(module) example" },
4+
{ "key": "---" },
5+
{ "key": "Choose a random element from a non-empty sequence." },
6+
{
7+
"key": "Return random integer in range \\[a, b\\], including both end points."
8+
},
9+
{ "key": "```python\u000a(parameter) align: str\u000a```" },
10+
{ "key": "```python\u000a(parameter) font: tuple[str, int, str]\u000a```" },
11+
{ "key": "```python\u000a(parameter) height: int | float\u000a```" },
12+
{ "key": "```python\u000a(parameter) width: int | float\u000a```" },
13+
{
14+
"key": "```python\u000a(variable) choice: (seq: SupportsLenAndGetItem[_T@choice]) -> _T@choice\u000a```"
15+
},
16+
{
17+
"key": "```python\u000a(variable) randint: (a: int, b: int) -> int\u000a```"
18+
},
419
{ "key": "```python\u000abuiltins.float\u000a```" },
520
{ "key": "```python\u000abuiltins.int\u000a```" },
621
{ "key": "```python\u000abuiltins.list\u000a```" },
722
{ "key": "```python\u000abuiltins.str\u000a```" },
23+
{
24+
"key": "```python\u000aclass range(\u000a __start: SupportsIndex,\u000a __stop: SupportsIndex,\u000a __step: SupportsIndex = ...,\u000a /\u000a)\u000a```"
25+
},
826
{ "key": "```python\u000adef godown(): # -> None:\u000a```" },
927
{ "key": "```python\u000adef goleft(): # -> None:\u000a```" },
1028
{ "key": "```python\u000adef goright(): # -> None:\u000a```" },
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"@generated": null,
3-
"facts_searched": { "scip.Documentation.1": 12 },
3+
"facts_searched": { "scip.Documentation.1": 22 },
44
"full_scans": [ "scip.Documentation.1" ]
55
}

glean/lang/python-scip/tests/cases/xrefs/LocalName.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
{ "key": "pen" },
3939
{ "key": "penup" },
4040
{ "key": "randint" },
41+
{ "key": "random" },
4142
{ "key": "range" },
4243
{ "key": "score" },
4344
{ "key": "segment" },
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"@generated": null,
3-
"facts_searched": { "scip.LocalName.1": 59 },
3+
"facts_searched": { "scip.LocalName.1": 60 },
44
"full_scans": [ "scip.LocalName.1" ]
55
}

glean/lang/python-scip/tests/cases/xrefs/Symbol.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
{ "key": "scip-python python . test example/y." },
3131
{ "key": "scip-python python python-stdlib 3.11 builtins/list#append()." },
3232
{ "key": "scip-python python python-stdlib 3.11 builtins/range#" },
33+
{ "key": "scip-python python python-stdlib 3.11 random/" },
3334
{ "key": "scip-python python python-stdlib 3.11 random/__init__:" },
3435
{ "key": "scip-python python python-stdlib 3.11 random/choice." },
3536
{ "key": "scip-python python python-stdlib 3.11 random/randint." },
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"@generated": null,
3-
"facts_searched": { "scip.Symbol.1": 63 },
3+
"facts_searched": { "scip.Symbol.1": 64 },
44
"full_scans": [ "scip.Symbol.1" ]
55
}

glean/lang/python-scip/tests/cases/xrefs/SymbolDocumentation.out

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,127 @@
125125
"symbol": { "key": "scip-python python . test example/y." },
126126
"docs": { "key": "```python\u000abuiltins.int\u000a```" }
127127
}
128+
},
129+
{
130+
"key": {
131+
"symbol": {
132+
"key": "scip-python python python-stdlib 3.11 builtins/range#"
133+
},
134+
"docs": {
135+
"key": "```python\u000aclass range(\u000a __start: SupportsIndex,\u000a __stop: SupportsIndex,\u000a __step: SupportsIndex = ...,\u000a /\u000a)\u000a```"
136+
}
137+
}
138+
},
139+
{
140+
"key": {
141+
"symbol": { "key": "scip-python python python-stdlib 3.11 random/" },
142+
"docs": { "key": "---" }
143+
}
144+
},
145+
{
146+
"key": {
147+
"symbol": { "key": "scip-python python python-stdlib 3.11 random/" },
148+
"docs": { "key": "Choose a random element from a non-empty sequence." }
149+
}
150+
},
151+
{
152+
"key": {
153+
"symbol": { "key": "scip-python python python-stdlib 3.11 random/" },
154+
"docs": {
155+
"key": "```python\u000a(variable) choice: (seq: SupportsLenAndGetItem[_T@choice]) -> _T@choice\u000a```"
156+
}
157+
}
158+
},
159+
{
160+
"key": {
161+
"symbol": {
162+
"key": "scip-python python python-stdlib 3.11 random/choice."
163+
},
164+
"docs": { "key": "---" }
165+
}
166+
},
167+
{
168+
"key": {
169+
"symbol": {
170+
"key": "scip-python python python-stdlib 3.11 random/choice."
171+
},
172+
"docs": { "key": "Choose a random element from a non-empty sequence." }
173+
}
174+
},
175+
{
176+
"key": {
177+
"symbol": {
178+
"key": "scip-python python python-stdlib 3.11 random/choice."
179+
},
180+
"docs": {
181+
"key": "```python\u000a(variable) choice: (seq: SupportsLenAndGetItem[_T@choice]) -> _T@choice\u000a```"
182+
}
183+
}
184+
},
185+
{
186+
"key": {
187+
"symbol": {
188+
"key": "scip-python python python-stdlib 3.11 random/randint."
189+
},
190+
"docs": { "key": "---" }
191+
}
192+
},
193+
{
194+
"key": {
195+
"symbol": {
196+
"key": "scip-python python python-stdlib 3.11 random/randint."
197+
},
198+
"docs": {
199+
"key": "Return random integer in range \\[a, b\\], including both end points."
200+
}
201+
}
202+
},
203+
{
204+
"key": {
205+
"symbol": {
206+
"key": "scip-python python python-stdlib 3.11 random/randint."
207+
},
208+
"docs": {
209+
"key": "```python\u000a(variable) randint: (a: int, b: int) -> int\u000a```"
210+
}
211+
}
212+
},
213+
{
214+
"key": {
215+
"symbol": {
216+
"key": "scip-python python python-stdlib 3.11 turtle/RawTurtle#write().(align)"
217+
},
218+
"docs": { "key": "```python\u000a(parameter) align: str\u000a```" }
219+
}
220+
},
221+
{
222+
"key": {
223+
"symbol": {
224+
"key": "scip-python python python-stdlib 3.11 turtle/RawTurtle#write().(font)"
225+
},
226+
"docs": {
227+
"key": "```python\u000a(parameter) font: tuple[str, int, str]\u000a```"
228+
}
229+
}
230+
},
231+
{
232+
"key": {
233+
"symbol": {
234+
"key": "scip-python python python-stdlib 3.11 turtle/_Screen#setup().(height)"
235+
},
236+
"docs": {
237+
"key": "```python\u000a(parameter) height: int | float\u000a```"
238+
}
239+
}
240+
},
241+
{
242+
"key": {
243+
"symbol": {
244+
"key": "scip-python python python-stdlib 3.11 turtle/_Screen#setup().(width)"
245+
},
246+
"docs": {
247+
"key": "```python\u000a(parameter) width: int | float\u000a```"
248+
}
249+
}
128250
}
129251
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"@generated": null,
3-
"facts_searched": { "scip.SymbolDocumentation.1": 21 },
3+
"facts_searched": { "scip.SymbolDocumentation.1": 35 },
44
"full_scans": [ "scip.SymbolDocumentation.1" ]
55
}

glean/lang/python-scip/tests/cases/xrefs/SymbolKind.out

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@
143143
"kind": 4
144144
}
145145
},
146+
{
147+
"key": {
148+
"symbol": { "key": "scip-python python python-stdlib 3.11 random/" },
149+
"kind": 3
150+
}
151+
},
146152
{
147153
"key": {
148154
"symbol": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"@generated": null,
3-
"facts_searched": { "scip.SymbolKind.1": 59 },
3+
"facts_searched": { "scip.SymbolKind.1": 60 },
44
"full_scans": [ "scip.SymbolKind.1" ]
55
}

0 commit comments

Comments
 (0)