Skip to content

Commit

Permalink
update error message in AbstractContextManager subscript test
Browse files Browse the repository at this point in the history
  • Loading branch information
DetachHead committed Sep 4, 2024
1 parent dd8d055 commit 6b83eed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ test('subscript context manager types on 3.8', () => {
configOptions.defaultPythonVersion = pythonVersion3_8;
const analysisResults = typeAnalyzeSampleFiles(['subscript_check.py'], configOptions);
const message =
'Subscript for class "AbstractContextManager" will generate runtime exception; enclose type annotation in quotes';
'Subscript for class "AbstractContextManager" will generate runtime exception; enclose type expression in quotes';
validateResultsButBased(analysisResults, {
errors: [
{ code: DiagnosticRule.reportIndexIssue, line: 7, message },
Expand Down

0 comments on commit 6b83eed

Please sign in to comment.