Skip to content

Commit 91b63c8

Browse files
committed
Fixed unit test regression.
1 parent bb95de8 commit 91b63c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/pyright-internal/src/tests/samples/genericTypes33.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Class2(Class1):
1414
pass
1515

1616

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

2020

packages/pyright-internal/src/tests/typeEvaluator2.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ test('GenericTypes33', () => {
415415
// Turn on errors.
416416
configOptions.diagnosticRuleSet.reportMissingTypeArgument = 'error';
417417
analysisResults = TestUtils.typeAnalyzeSampleFiles(['genericTypes33.py'], configOptions);
418-
TestUtils.validateResults(analysisResults, 4);
418+
TestUtils.validateResults(analysisResults, 5);
419419
});
420420

421421
test('GenericTypes34', () => {

0 commit comments

Comments
 (0)