Skip to content

Commit 9bf4022

Browse files
authored
Merge pull request #456 from allenap/relax-use-fixture-protocol
Relax the return type on `UseFixtureProtocol.getDetails`
2 parents 6b46551 + 491e387 commit 9bf4022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testtools/testcase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def gather_details(source_dict, target_dict):
172172
class UseFixtureProtocol(Protocol):
173173
def setUp(self) -> Any: ...
174174
def cleanUp(self) -> Any: ...
175-
def getDetails(self) -> dict[str, content.Content]: ...
175+
def getDetails(self) -> dict: ...
176176

177177

178178
UseFixtureT = TypeVar("UseFixtureT", bound=UseFixtureProtocol)

0 commit comments

Comments
 (0)