Skip to content

Commit

Permalink
Fix INTERNALERROR (typeddjango#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
griels authored Dec 18, 2024
1 parent b9437c8 commit cb0f7ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_mypy_plugins/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def repr_failure(
# with traceback removed
exception_repr = excinfo.getrepr(style="short")
exception_repr.reprcrash.message = "" # type: ignore
repr_file_location = ReprFileLocation(
repr_file_location = ReprEntry(
path=self.fspath, lineno=self.starting_lineno + excinfo.value.lineno, message="" # type: ignore
)
repr_tb_entry = TraceLastReprEntry(
Expand Down

1 comment on commit cb0f7ab

@griels
Copy link
Owner Author

@griels griels commented on cb0f7ab Dec 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ignore, altered the wrong line!

Please sign in to comment.