Skip to content

Commit

Permalink
Fixed unit test regression.
Browse files Browse the repository at this point in the history
  • Loading branch information
msfterictraut committed Dec 4, 2020
1 parent bb95de8 commit 91b63c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Class2(Class1):
pass


# This should not generate an error.
# This should generate an error when reportMissingTypeArgument is enabled.
_T2 = TypeVar("_T2", bound=Class1)


Expand Down
2 changes: 1 addition & 1 deletion packages/pyright-internal/src/tests/typeEvaluator2.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ test('GenericTypes33', () => {
// Turn on errors.
configOptions.diagnosticRuleSet.reportMissingTypeArgument = 'error';
analysisResults = TestUtils.typeAnalyzeSampleFiles(['genericTypes33.py'], configOptions);
TestUtils.validateResults(analysisResults, 4);
TestUtils.validateResults(analysisResults, 5);
});

test('GenericTypes34', () => {
Expand Down

0 comments on commit 91b63c8

Please sign in to comment.