Commit 2936ec6e authored by Jan Kiene's avatar Jan Kiene
Browse files

fix sanitizer type name

parent 358560c2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ class SanitizerError:
        return self.location == other.location

    def __repr__(self):
        return f"<{self.__class__} at {self.location}>"
        return f"<{self.__class__.__name__} at {self.location}>"

    def __lt__(self, other):
        return self.location < other.location
@@ -34,6 +34,7 @@ class SanitizerError:
    def to_dict(self) -> dict:
        return {
            "testcase": self.testcase,
            "sanitizer": self.__class__.__name__.replace("Error", "").upper(),
            "location": self.location,
            "type": self.type,
            "traceback": self.traceback,