Skip to content

Commit f978db2

Browse files
Update irbuild-str.test
1 parent 3956651 commit f978db2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mypyc/test-data/irbuild-str.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ NewStr = NewType("NewStr", str)
515515
def do_count(s: str) -> int:
516516
return s.count("x") # type: ignore [attr-defined]
517517
[builtins fixtures/string.pyi]
518+
[typing fixtures/typing-full.pyi]
518519
[out]
519520
def do_count(s):
520521
s, r0 :: str
@@ -536,6 +537,7 @@ NewStr = NewType("NewStr", str)
536537
def do_count(s: str, start: int) -> int:
537538
return s.count("x", start) # type: ignore [attr-defined]
538539
[builtins fixtures/string.pyi]
540+
[typing fixtures/typing-full.pyi]
539541
[out]
540542
def do_count(s, start):
541543
s :: str
@@ -559,6 +561,7 @@ NewStr = NewType("NewStr", str)
559561
def do_count(s: str, start: int, end: int) -> int:
560562
return s.count("x", start, end) # type: ignore [attr-defined]
561563
[builtins fixtures/string.pyi]
564+
[typing fixtures/typing-full.pyi]
562565
[out]
563566
def do_count(s, start, end):
564567
s :: str

0 commit comments

Comments
 (0)