File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 507507
508508[case testCountAll]
509509def do_count(s: str) -> int:
510- return s.count("x")
510+ return s.count("x") # type: ignore [attr-defined]
511511[out]
512512def do_count(s):
513513 s, r0 :: str
@@ -516,7 +516,7 @@ def do_count(s):
516516
517517[case testCountStart]
518518def do_count(s: str, start: int) -> int:
519- return s.count("x", start)
519+ return s.count("x", start) # type: ignore [attr-defined]
520520[out]
521521def do_count(s, start):
522522 s, r0 :: str
@@ -526,7 +526,7 @@ def do_count(s, start):
526526
527527[case testCountStartEnd]
528528def do_count(s: str, start: int, end: int) -> int:
529- return s.count("x", start, end)
529+ return s.count("x", start, end) # type: ignore [attr-defined]
530530[out]
531531def do_count(s, start, end):
532532 s, r0 :: str
You can’t perform that action at this time.
0 commit comments