Skip to content

Commit 6bc5efe

Browse files
grielssobolevn
andauthored
Fix internal error (#154) (#156)
As per #154 Co-authored-by: sobolevn <[email protected]>
1 parent c26355c commit 6bc5efe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_mypy_plugins/item.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ def repr_failure(
472472
repr_file_location = ReprFileLocation(
473473
path=self.fspath, lineno=self.starting_lineno + excinfo.value.lineno, message="" # type: ignore
474474
)
475-
repr_tb_entry = TraceLastReprEntry(
475+
repr_tb_entry = ReprEntry(
476476
exception_repr.reprtraceback.reprentries[-1].lines[1:], None, None, repr_file_location, "short"
477477
)
478478
exception_repr.reprtraceback.reprentries = [repr_tb_entry]

0 commit comments

Comments
 (0)