Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Commit 7973ad1

Browse files
author
MikhailArkhipov
committed
Update TypingModuleDocumentationExample_2
1 parent 33f8503 commit 7973ad1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Analysis/Engine/Test/TypeAnnotationTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,6 @@ await TypingModuleDocumentationExampleAsync(@"def greeting(name: str) -> str:
380380
}
381381

382382
[TestMethod, Priority(0)]
383-
[Ignore("https://github.com/Microsoft/python-language-server/issues/38")]
384383
public async Task TypingModuleDocumentationExample_2() {
385384
await TypingModuleDocumentationExampleAsync(@"from typing import List
386385
Vector = List[float]
@@ -392,7 +391,7 @@ def scale(scalar: float, vector: Vector) -> Vector:
392391
new_vector = scale(2.0, [1.0, -4.2, 5.4])
393392
",
394393
new[] {
395-
"scale:scale(scalar:float=,vector:list[float]=)->[list,list[float]]"
394+
"scale:scale(scalar:float=,vector:list[float, float, float], list[float]=)->[list[float]]"
396395
}
397396
);
398397
}

0 commit comments

Comments
 (0)