Skip to content

Commit 8f058e0

Browse files
fix: remove print Update mpqp/core/instruction/breakpoint.py
Co-authored-by: Henri-ColibrITD <133855265+Henri-ColibrITD@users.noreply.github.com>
1 parent 4e7d01a commit 8f058e0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

mpqp/core/instruction/breakpoint.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,7 @@ def to_other_language(
7272
raise NotImplementedError(f"Error: {language} is not supported")
7373

7474
def __eq__(self, value: object) -> bool:
75-
if not isinstance(value, self.__class__):
76-
return False
77-
if self.to_dict() != value.to_dict():
78-
print(self.to_dict())
79-
print(value.to_dict())
80-
return self.to_dict() == value.to_dict()
75+
return isinstance(value, type(self)) and self.to_dict() == value.to_dict()
8176

8277
def to_dict(self):
8378
"""

0 commit comments

Comments
 (0)