--- a/src/eric7/Testing/TestingWidget.py Sun Dec 31 13:56:09 2023 +0100 +++ b/src/eric7/Testing/TestingWidget.py Sun Dec 31 14:11:11 2023 +0100 @@ -1470,7 +1470,10 @@ self.tr( "<p>There was an error while discovering tests in <b>{0}</b>.</p>" "<p>{1}</p>" - ).format("<br/>".join(error.splitlines())), + ).format( + self.discoveryPicker.currentText(), + "<br/>".join(error.splitlines()), + ), ) def __testDiscoveryProcessFinished(self, results, output): # noqa: U100