Skip to content

Commit c9216b3

Browse files
Update irbuild-str.test
1 parent 270e126 commit c9216b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mypyc/test-data/irbuild-str.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ L0:
507507

508508
[case testCountAll]
509509
def do_count(s: str) -> int:
510-
return s.count("x")
510+
return s.count("x") # type: ignore [attr-defined]
511511
[out]
512512
def do_count(s):
513513
s, r0 :: str
@@ -516,7 +516,7 @@ def do_count(s):
516516

517517
[case testCountStart]
518518
def 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]
521521
def do_count(s, start):
522522
s, r0 :: str
@@ -526,7 +526,7 @@ def do_count(s, start):
526526

527527
[case testCountStartEnd]
528528
def 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]
531531
def do_count(s, start, end):
532532
s, r0 :: str

0 commit comments

Comments
 (0)