Skip to content

Commit 9cb8ba6

Browse files
committed
Update new test from master
1 parent 75c05a2 commit 9cb8ba6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mypy/test/teststubtest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2663,8 +2663,9 @@ class _X1: ...
26632663
def test_type_default_protocol(self) -> Iterator[Case]:
26642664
yield Case(
26652665
stub="""
2666-
from typing import Protocol
2666+
from typing import Protocol, type_check_only
26672667
2668+
@type_check_only
26682669
class _FormatterClass(Protocol):
26692670
def __call__(self, *, prog: str) -> HelpFormatter: ...
26702671

0 commit comments

Comments
 (0)